:root {
    --primary-blue: #0066FF;
    --dark-blue: #00337F;
    --light-blue: #E8F0FF;
    --accent-yellow: #FFD700;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue) !important;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

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

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

.btn-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    border: none;
    padding: 0;
}

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

.btn-light {
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--white);
    font-weight: 600;
}

.btn-light:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Badge Pills */
.badge-pill {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-pill.white {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Strategy Section */
.strategy-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.strategy-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(100% 0, 100% 100%, 30% 100%, 60% 0);
    z-index: 0;
}

.strategy-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.strategy-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.strategy-visual {
    position: relative;
    z-index: 1;
}

.strategy-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stats-container {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-badge {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.15);
}

.service-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue), var(--bg-light));
}

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

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background-color: var(--white);
}

.solutions-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.solutions-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.solutions-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.badge-item {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Newsroom Section */
.newsroom-section {
    padding: 80px 0;
    background-color: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.5rem;
    padding-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-date {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-link:hover {
    gap: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer-section {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4da6ff, #80bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-blue);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    margin-left: 2rem;
}

.footer-link:hover {
    color: var(--white);
}

/* ===== Footer Styled Lists with Check Icons ===== */
.footer-links-styled li {
    margin-bottom: 10px;
}

.footer-links-styled li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.footer-links-styled li a i.fa-check-circle {
    color: #4da6ff;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-links-styled li a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-links-styled li a:hover i.fa-check-circle {
    color: #FFC107;
    transform: scale(1.25);
}

/* ===== Footer Social Icons (Original brand icons) ===== */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    transform: translateY(-3px);
    color: #fff;
}

.footer-social-icon[title="Facebook"]:hover {
    background: #1877F2;
}

.footer-social-icon[title="Twitter/X"]:hover {
    background: #1DA1F2;
}

.footer-social-icon[title="LinkedIn"]:hover {
    background: #0A66C2;
}

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

/* ===== Footer Contact Items ===== */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.footer-contact-item>i {
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-link:hover {
    color: #FFC107 !important;
}

/* ===== Footer Developer Credit ===== */
.footer-dev-link {
    transition: color 0.3s ease;
}

.footer-dev-link:hover {
    color: #FFC107 !important;
}

/* ===== Footer Bottom Links ===== */
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

/* ===== Static Page Cards ===== */
.static-page-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.static-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 51, 127, 0.12) !important;
}

.static-page-card img {
    transition: transform 0.4s ease;
}

.static-page-card:hover img {
    transform: scale(1.05);
}

.card-img-fade {
    position: relative;
    overflow: hidden;
}

.card-img-fade::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 2;
}

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .strategy-title {
        font-size: 1.8rem;
    }

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

    .solutions-badges {
        grid-template-columns: 1fr;
    }

    .stats-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-link {
        margin-left: 0;
        display: block;
        margin-bottom: 0.5rem;
    }
}

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

    .strategy-section {
        padding: 50px 0;
    }

    .services-section {
        padding: 50px 0;
    }

    .newsroom-section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 50px 0;
    }
}

/* --- UI/UX Sync Additions --- */

/* Seamless Services Section Transition */
.services-section-new {
    position: relative;
    background-color: #f8f9fa;
    /* Light background for the bottom part */
}

.services-header-bg {
    /* Matches bottom color of Strategy section (#00337F) to fade seamlessly */
    background: linear-gradient(180deg, #00337F 0%, #0056b3 100%);
    padding-top: 60px;
    padding-bottom: 120px;
    position: relative;
    /* Optional: Add a subtle texture or pattern overlay */
}

.services-header-bg::after {
    /* Soften the bottom edge */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f8f9fa, transparent);
    pointer-events: none;
}

.service-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 51, 127, 0.08);
    /* Subtle blue shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 51, 127, 0.15);
}

.card-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 51, 127, 0.03);
    /* Very faint background number */
    position: absolute;
    top: -10px;
    right: 20px;
    line-height: 1;
    z-index: 0;
}

/* Ensure content sits above number */
.service-card-modern>* {
    position: relative;
    z-index: 1;
}

.services-cards-container {
    /* Already has negative margin inline, but adding here for cleaner CSS if inline is removed */
    margin-top: -100px;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    /* Changed from right to left based on typical design patterns, or check image */
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.floating-badge img {
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
}

.floating-badge img:first-child {
    margin-left: 0;
}

/* Solutions Split Layout */
.solutions-split {
    background: var(--bg-light);
}

/* Offcanvas Navbar Desktop Reset & Dropdown Hover */
@media (min-width: 992px) {
    .offcanvas-end {
        position: static;
        z-index: auto;
        height: auto;
        width: auto;
        visibility: visible;
        background-color: transparent;
        border: 0;
        transition: none;
        transform: none;
        display: flex !important;
        flex-grow: 1;
        align-items: center;
        box-shadow: none;
    }

    .offcanvas-header {
        display: none;
    }

    .offcanvas-body {
        display: flex;
        flex-grow: 1;
        padding: 0;
        overflow-y: visible;
        width: 100%;
        justify-content: space-between;
        /* Ensure spacing between Nav and Actions */
    }

    /* Hover Dropdown for Desktop */
    .dropdown-hover:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* Ensure dropdowns don't close immediately when moving cursor to menu */
    .dropdown-menu {
        margin-top: -2px;
    }
}

/* Offcanvas Mobile Styles */
@media (max-width: 991.98px) {
    .offcanvas-end {
        width: 300px;
        /* Adjust sidebar width if needed */
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .offcanvas-body .navbar-nav {
        margin-bottom: 2rem;
    }

    .offcanvas-body .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .offcanvas-body .dropdown-menu {
        border: none;
        background: #f8f9fa;
        padding-left: 1rem;
        box-shadow: none;
    }

    .offcanvas-body {
        flex-direction: column;
    }
}

.solutions-left {
    background: url('/assets/images/solutions-bg.jpg') center/cover no-repeat;
    /* Placeholder */
    min-height: 500px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.solutions-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.industry-pill {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    margin-bottom: 15px;
    border: 1px solid transparent;
}

.industry-pill:hover {
    border-color: var(--primary-blue);
    transform: translateX(5px);
    color: var(--primary-blue);
}

.industry-pill i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Stats Row */
.stats-row {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

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

/* Button Refinements */
.btn-warning {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #00337F;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
    color: #00337F;
    transform: translateY(-2px);
}

.text-link-video {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.text-link-video i {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
    transition: all 0.3s;
}

/* Navigation & Accessibility */
.dropdown-hover:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 25px;
    /* Subtle movement */
}

/* Dotted Page Divider */
.dotted-divider {
    border-top: 4px dotted #e0e0e0;
    height: 0;
    width: 100%;
    margin: 0;
    opacity: 0.6;
}

/* Kenyan Context Polish */
.site-phone-highlight {
    color: var(--primary-blue);
    font-weight: 800;
}

/* New Services Section Design (Cleanaway Style) */
.services-section-new {
    background-color: #f8f9fa;
    /* Light grey bottom background */
    position: relative;
    padding-bottom: 80px;
}

.services-header-bg {
    background-color: #00337F;
    /* Deep Blue Header */
    padding-top: 80px;
    padding-bottom: 150px;
    /* Space for overlap */
    position: relative;
    overflow: hidden;
}

.service-card-modern {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
    min-height: 550px;
    /* Ensure uniform height */
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-10px);
}

.card-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4da6ff;
    /* Light Blue Number */
    margin-bottom: 15px;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 80%;
}

.card-image-wrapper {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    /* Align image to right/bottom */
    align-items: flex-end;
    margin-bottom: 20px;
    margin-top: -40px;
    /* Overlap with title somewhat if needed, or just standard */
}

.service-product-img {
    max-height: 350px;
    object-fit: contain;
    /* Transform to visually pop out */
}

.service-card-modern .btn-warning {
    background-color: #FFC107;
    color: #000;
    font-weight: 700;
    border: none;
    z-index: 10;
    /* Ensure button is clickable */
}

/* --- Branded Title Underlines --- */
.page-title,
.section-title,
.branded-header,
.hero-title-underline {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px !important;
}

.page-title::after,
.section-title::after,
.branded-header::after,
.hero-title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* Modifier for left alignment */
.text-start.page-title::after,
.text-start.section-title::after,
.text-start.branded-header::after,
.text-start.hero-title-underline::after {
    left: 0;
    transform: none;
}

/* Modifier for white line on dark backgrounds */
.text-white.page-title::after,
.text-white.section-title::after,
.text-white.branded-header::after,
.text-white.hero-title-underline::after {
    background-color: var(--white);
    opacity: 0.8;
}