/* ========================================================================
   Variables and Base Styles (Copied from refined main.css)
   ======================================================================== */
   :root {
    /* Primary & Accents */
    --primary-blue: #0974B0;
    --accent-red: #CE2232;
    --accent-green: #219E4A;
    --accent-yellow: #FFE004;
    /* Neutrals */
    --neutral-light: #F5F5F5;
    --neutral-dark: #333333;
    --neutral-medium: #5e6c84;
    --neutral-border: #dfe1e6;
    --white: #ffffff;
    --black: #000000;
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #0974B0, #065a8a);
    /* Component Specific */
    --header-bg: var(--primary-blue);
    --header-text: var(--white);
    --footer-bg: var(--primary-blue);
    --footer-text: var(--white);
    --link-color: var(--primary-blue);
    --link-hover-color: var(--accent-red);
    --button-primary-bg: var(--accent-green); /* Use Green as Primary for consistency */
    --button-primary-text: var(--white);
    --button-secondary-bg: var(--accent-red); /* Use Red as Secondary */
    --button-secondary-text: var(--white);
    /* Typography & Spacing */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --base-font-size: 16px;
    --line-height-base: 1.6;
    --line-height-heading: 1.3;
    --spacing-unit: 8px;
    --section-padding-y: calc(var(--spacing-unit) * 10); /* 80px */
    --container-max-width: 1200px;
    /* Other Variables */
    --transition-speed: 0.3s ease;
    --border-radius: 8px; /* Consistent radius */
    --box-shadow: 0 4px 15px rgba(0, 82, 204, 0.08);
    --box-shadow-hover: 0 8px 25px rgba(0, 82, 204, 0.12);
}

/* Reset and base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: var(--base-font-size); scroll-behavior: smooth; }
body { font-family: var(--font-primary); line-height: var(--line-height-base); color: var(--neutral-dark); background-color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: var(--link-color); transition: color var(--transition-speed); }
a:hover { color: var(--link-hover-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { line-height: var(--line-height-heading); margin-bottom: calc(var(--spacing-unit) * 2); font-weight: 700; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: calc(var(--spacing-unit) * 2); }
p:last-child { margin-bottom: 0; }
.container { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding: 0 calc(var(--spacing-unit) * 2.5); /* 20px */ }

/* Spacing: Utility class for standard section padding */
.section-padding {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}
/* Alternating Backgrounds */
main section:nth-of-type(even) { /* Target sections within main */
    background-color: var(--neutral-light);
}
main section:nth-of-type(odd) {
    background-color: var(--white);
}
/* Utility for light background override if needed */
.bg-light { background-color: var(--neutral-light) !important; }
.bg-white { background-color: var(--white) !important; }

/* SEO/Highlighting: Simple class for brand names */
.brand-highlight {
    font-weight: 600;
    color: var(--primary-blue);
}

/* ========================================================================
   Loader Styles (Copied from refined main.css)
   ======================================================================== */
#loader-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; background-color: var(--primary-blue); display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
#loader-wrapper.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { width: 40px; height: 30px; --c: no-repeat linear-gradient(var(--accent-green) 0 0); background: var(--c) 0 100%/8px 30px, var(--c) 50% 100%/8px 20px, var(--c) 100% 100%/8px 10px; position: relative; clip-path: inset(-100% 0); transform: scale(2); }
.loader:before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-yellow); left: -16px; top: 0; animation: l5-1 2s linear infinite, l5-2 0.5s cubic-bezier(0,200,.8,200) infinite; }
@keyframes l5-1 { 0% {left:-16px;transform:translateY(-8px)} 100% {left:calc(100% + 8px);transform:translateY(22px)} }
@keyframes l5-2 { 100% {top:-0.1px} }

/* ========================================================================
   Header Styles (Copied from refined main.css)
   ======================================================================== */
header { background-color: var(--header-bg); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 100; padding: calc(var(--spacing-unit) * 0.5) 0; }
header .container { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.logo img { height: 55px; display: block; }
nav { display: flex; justify-content: flex-end; }
.nav-links { display: flex; gap: calc(var(--spacing-unit) * 3.5); align-items: center; }
.nav-links li { position: relative; }
.nav-links a { color: var(--header-text); font-weight: 500; font-size: 0.95rem; padding: calc(var(--spacing-unit) * 1.25) 0; position: relative; transition: color var(--transition-speed); text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-yellow); }
.nav-links a::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 2px; background-color: var(--accent-yellow); transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease-out; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
/* Dropdown */
.dropdown { position: relative; }
.dropdown-content { position: absolute; top: 100%; left: 0; min-width: 170px; background-color: var(--header-bg); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); visibility: hidden; opacity: 0; transform: translateY(10px); transition: visibility 0s linear 0.3s, opacity 0.3s ease, transform 0.3s ease; z-index: 1; border-radius: 0 0 var(--border-radius) var(--border-radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-top: none; }
.dropdown-content li { width: 100%; }
.dropdown-content a { padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2); display: block; color: var(--header-text); font-size: 0.9rem; transition: background 0.3s, color 0.3s; }
.dropdown-content a:hover { background-color: var(--accent-green); color: var(--white); }
.dropdown-content a::after { display: none; }
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
.fa-chevron-down { font-size: 0.7em; margin-left: calc(var(--spacing-unit) * 0.5); }
/* Mobile Toggle */
.menu-toggle { display: none; color: var(--header-text); font-size: 1.5rem; cursor: pointer; padding: var(--spacing-unit); background: none; border: none; }
/* Header Responsive */
@media screen and (max-width: 992px) { .nav-links { gap: calc(var(--spacing-unit) * 2.5); } }
@media screen and (max-width: 768px) {
    header .container { position: relative; }
    .logo { flex-grow: 1; text-align: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; z-index: 1; }
    .logo img { height: 45px; margin: 0 auto; }
    .menu-toggle { display: block; order: -1; z-index: 102; }
    nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--header-bg); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); border-top: 1px solid rgba(255, 255, 255, 0.1); z-index: 101; max-height: calc(100vh - 70px); overflow-y: auto; }
    nav.nav-open { display: block; }
    .nav-links { flex-direction: column; gap: 0; padding: var(--spacing-unit) 0; align-items: stretch; }
    .nav-links li { width: 100%; text-align: left; }
    .nav-links a { padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 2.5); display: block; border-bottom: 1px solid rgba(255, 255, 255, 0.1); width: 100%; font-size: 1rem; }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links a::after { display: none; }
    /* Mobile Dropdown */
    .dropdown-content { position: static; box-shadow: none; visibility: visible; opacity: 1; transform: none; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: rgba(0, 0, 0, 0.15); border: none; margin: 0; border-radius: 0; padding-left: calc(var(--spacing-unit) * 2); }
    .dropdown.active .dropdown-content { max-height: 500px; }
    .dropdown-content a { padding-top: calc(var(--spacing-unit) * 1.25); padding-bottom: calc(var(--spacing-unit) * 1.25); color: var(--accent-yellow); font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .dropdown-content li:last-child a { border-bottom: none; }
    .dropdown-content a:hover { background-color: rgba(0, 0, 0, 0.25); color: var(--white); }
}
@media screen and (max-width: 480px) { .logo img { height: 40px; } }

/* ========================================================================
   General Button Styles (Copied from refined main.css)
   ======================================================================== */
.btn { display: inline-block; padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.75); font-size: 1rem; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; border: none; border-radius: 50px; transition: all var(--transition-speed); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); line-height: 1.2; }
.btn span { display: inline-block; vertical-align: middle; }
.btn-primary { background-color: var(--button-primary-bg); color: var(--button-primary-text); }
.btn-primary:hover { background-color: var(--button-secondary-bg); color: var(--button-secondary-text); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); }
.btn-secondary { background-color: var(--button-secondary-bg); color: var(--button-secondary-text); }
.btn-secondary:hover { background-color: var(--accent-yellow); color: var(--neutral-dark); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); }

/* ========================================================================
   Section Header Styles (Shared)
   ======================================================================== */
.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 6); /* Spacing: 48px */
}
.section-header .section-title, /* Target specific class if needed */
.section-header h2 { /* Or generic h2 within header */
    font-size: 2.5rem; /* Hierarchy */
    margin-bottom: calc(var(--spacing-unit) * 3); /* 24px */
    position: relative;
    display: inline-block;
    padding-bottom: calc(var(--spacing-unit) * 1.25); /* 10px */
    font-weight: 700;
    /* Color is set per section */
}
.section-header .section-title::after,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Consistency */
    height: 4px;
    border-radius: 2px;
     /* Background color is set per section */
}
.section-header .section-subtitle {
    font-size: 1.1rem; /* Typography */
    color: var(--neutral-dark); /* Adjusted color for better contrast */
    max-width: 750px; /* Readability */
    margin: 0 auto;
    line-height: var(--line-height-base);
}

/* ========================================================================
   Process Section (.process-section)
   ======================================================================== */
/* Section padding applied via .section-padding class in HTML */
/* Background handled by alternating rule */

.process-section .section-header .section-title { color: var(--accent-green); }
.process-section .section-header .section-title::after { background-color: var(--accent-green); }

.process-row {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 3.75); /* Spacing: 30px */
    /* max-width: 1200px; */ /* Handled by container */
    /* margin: 0 auto; */
    /* padding: 0 20px; */ /* Handled by container */
    align-items: stretch; /* Make cards equal height if text varies */
}

.process-item {
    flex: 1; /* Equal width */
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 4px solid transparent; /* Placeholder for hover */
}
/* Middle item slightly larger - optional visual tweak */
/* .process-item:nth-child(2) { flex: 1.1; } */

.process-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
}
/* Hover border color based on icon */
.process-item:nth-child(1):hover { border-top-color: var(--primary-blue); }
.process-item:nth-child(2):hover { border-top-color: var(--accent-green); }
.process-item:nth-child(3):hover { border-top-color: var(--accent-yellow); }


.process-icon-container {
    display: flex;
    align-items: center;
    padding: calc(var(--spacing-unit) * 2.5); /* Spacing: 20px */
    border-bottom: 1px solid var(--neutral-border); /* Use variable */
}

.process-icon {
    width: 45px; /* Typography: Slightly smaller icon */
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: calc(var(--spacing-unit) * 2); /* Spacing: 16px */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
    color: var(--white);
    font-size: 1.4rem; /* Typography */
    font-weight: bold;
    flex-shrink: 0; /* Prevent shrinking */
}
.process-item:hover .process-icon { transform: scale(1.1); }
/* Icon Background Colors */
.process-item:nth-child(1) .process-icon { background-color: var(--primary-blue); }
.process-item:nth-child(2) .process-icon { background-color: var(--accent-green); }
.process-item:nth-child(3) .process-icon { background-color: var(--accent-yellow); color: var(--neutral-dark); } /* Ensure text visible on yellow */

/* Process Title (within icon container) */
.process-icon-container .process-title {
    margin: 0; /* Reset margin as it's inside flex */
    font-size: 1.3rem; /* Hierarchy */
    color: var(--neutral-dark);
    font-weight: 600;
}

/* Process Content Area */
.process-content {
    padding: calc(var(--spacing-unit) * 3); /* Spacing: 24px */
    flex-grow: 1; /* Allow content to fill space */
    display: flex;
    flex-direction: column;
}

.process-content h4.process-subtitle { /* Target the H4 subtitle */
    font-size: 1rem; /* Typography */
    color: var(--neutral-medium);
    margin-bottom: calc(var(--spacing-unit) * 1.5); /* Spacing: 12px */
    font-weight: 600; /* Hierarchy: Make subtitle slightly bolder */
}

.process-content ul {
    padding-left: 0; /* Remove default padding */
    margin-bottom: 0; /* Remove default margin */
    flex-grow: 1; /* Push to bottom if needed */
}
.process-content ul li {
    margin-bottom: var(--spacing-unit); /* Spacing: 8px */
    position: relative;
    list-style-type: none;
    padding-left: calc(var(--spacing-unit) * 2.5); /* Spacing: 20px for icon */
    color: var(--neutral-dark);
    font-size: 0.95rem; /* Typography */
    line-height: 1.5; /* Improve readability */
}
.process-content ul li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 6 Free"; /* Ensure correct font family */
    font-weight: 900; /* Use solid style */
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 2px; /* Adjust vertical alignment */
    font-size: 0.9em; /* Icon size */
}

/* Process Section Responsive */
@media (max-width: 992px) {
    .process-row { flex-direction: column; gap: calc(var(--spacing-unit) * 4); /* 32px */ }
    .process-item, .process-item:nth-child(2) { min-height: auto; /* Reset fixed height */ flex: 1; /* Reset flex basis */ }
    .section-header .section-title,
    .section-header h2 { font-size: 2.2rem; } /* Responsiveness */
}
@media (max-width: 576px) {
    .process-item { border-left: 4px solid transparent; border-top: none; } /* Switch border */
    .process-item:nth-child(1):hover { border-left-color: var(--primary-blue); border-top-color: transparent; }
    .process-item:nth-child(2):hover { border-left-color: var(--accent-green); border-top-color: transparent; }
    .process-item:nth-child(3):hover { border-left-color: var(--accent-yellow); border-top-color: transparent; }
    .section-header .section-title,
    .section-header h2 { font-size: 2rem; }
}

/* ========================================================================
   Integration Showcase Section (.integration-showcase-section)
   ======================================================================== */
/* Section padding applied via .section-padding class in HTML */
/* Background handled by alternating rule */

.integration-showcase-section .section-header .section-title { color: var(--primary-blue); }
.integration-showcase-section .section-header .section-title::after { background: var(--accent-yellow); }

.integration-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Align items vertically */
    gap: calc(var(--spacing-unit) * 3.75); /* Spacing: 30px */
    margin-bottom: calc(var(--spacing-unit) * 3); /* Spacing below logos */
}

.integration-logo-item {
    text-align: center;
    flex-basis: 100px; /* Start smaller */
    transition: transform var(--transition-speed);
}

.integration-logo-item img,
.integration-logo-item .mpesa-placeholder,
.integration-logo-item .integration-icon {
    max-height: 45px; /* Typography/Size: Smaller logos */
    width: auto;
    display: block; /* Ensure block level */
    margin: 0 auto calc(var(--spacing-unit) * 1); /* Spacing: 8px below logo/icon */
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
    opacity: 0.9; /* Slightly faded */
}
/* Specific Icon Styling */
.integration-logo-item .integration-icon {
    font-size: 2.5rem; /* Size for Font Awesome icons */
    max-height: none; /* Override image height */
    margin-bottom: calc(var(--spacing-unit) * 1.5); /* More space below icons */
    opacity: 1; /* Keep icons fully opaque */
}
.whatsapp-icon { color: #25D366; }

/* M-Pesa Placeholder Styling */
.mpesa-placeholder {
    background-color: #79C34A; /* Approximate M-Pesa green */
    color: white;
    font-weight: bold;
    padding: 8px 12px; /* Smaller padding */
    border-radius: 5px;
    font-size: 0.9rem; /* Smaller font */
    line-height: 1;
    display: inline-block;
    margin-bottom: calc(var(--spacing-unit) * 1); /* Match image margin */
}

.integration-logo-item p {
    font-size: 0.85rem; /* Typography: Smaller text */
    color: var(--neutral-medium);
    margin: 0; /* Remove default margins */
    font-weight: 500;
}

.integration-logo-item:hover img,
.integration-logo-item:hover .mpesa-placeholder,
.integration-logo-item:hover .integration-icon {
    transform: scale(1.1);
    opacity: 1;
}
.integration-logo-item:hover p {
    color: var(--primary-blue); /* Highlight text on hover */
}

/* Footer note below logos */
.integration-footer-note {
    text-align: center;
    color: var(--neutral-medium);
    font-size: 0.95rem;
    margin-top: calc(var(--spacing-unit) * 3); /* Spacing above note */
}

/* Integration Showcase Responsive */
@media (max-width: 768px) {
    .integration-logos-container { gap: calc(var(--spacing-unit) * 3); /* 24px */ }
    .integration-logo-item { flex-basis: 90px; }
    .integration-logo-item img, .integration-logo-item .mpesa-placeholder, .integration-logo-item .integration-icon { max-height: 40px; font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .integration-logos-container { gap: calc(var(--spacing-unit) * 2.5); /* 20px */ }
    .integration-logo-item { flex-basis: 80px; }
    .integration-logo-item img, .integration-logo-item .mpesa-placeholder, .integration-logo-item .integration-icon { max-height: 35px; font-size: 2rem; }
    .integration-logo-item p { font-size: 0.8rem; }
}


/* ========================================================================
   Client Advisory Section (.client-advisory)
   ======================================================================== */
/* Section padding applied via .section-padding class in HTML */
/* Background handled by alternating rule */

.client-advisory .advisory-header .section-title { color: var(--primary-blue); }
.client-advisory .advisory-header .section-title::after { background: var(--accent-yellow); }
/* .client-advisory .advisory-header .section-subtitle { margin-bottom: calc(var(--spacing-unit) * 5); } */ /* Use default header margin */

.advisory-content-wrapper {
    max-width: 900px; /* Limit width */
    margin: 0 auto; /* Center */
}

.advisory-card {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 4); /* Spacing: 32px */
    padding: calc(var(--spacing-unit) * 5); /* Spacing: 40px */
    border-radius: var(--border-radius);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(9, 116, 176, 0.2); /* Adjusted shadow */
    position: relative;
    overflow: hidden;
}
.advisory-card.bg-blue-gradient { background: var(--gradient-blue); } /* Apply gradient */

.advisory-icon {
    font-size: 2.5rem; /* Typography: Slightly smaller icon */
    flex-shrink: 0;
    margin-top: 5px;
    color: var(--accent-yellow);
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}

.advisory-text { flex-grow: 1; }

.advisory-text h3 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: calc(var(--spacing-unit) * 2); /* Spacing: 16px */
    font-size: 1.6rem; /* Hierarchy */
    font-weight: 600;
}

.advisory-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: calc(var(--spacing-unit) * 2.5); /* Spacing: 20px */
    line-height: 1.7; /* Readability */
    font-size: 1rem; /* Typography */
}

.advisory-list {
    list-style: none;
    padding-left: 0;
    margin: calc(var(--spacing-unit) * 3) 0; /* Spacing: 24px */
}
.advisory-list li {
    margin-bottom: calc(var(--spacing-unit) * 1.25); /* Spacing: 10px */
    position: relative;
    padding-left: calc(var(--spacing-unit) * 3.5); /* Spacing: 28px */
    color: var(--white);
    font-size: 0.95rem; /* Typography */
}
.advisory-list i.fa-check-circle {
    color: var(--accent-yellow);
    position: absolute;
    left: 0;
    top: 3px; /* Alignment */
    font-size: 1.1em;
}

.advisory-text p strong {
    color: var(--white);
    font-weight: 700; /* Ensure bold */
}

/* Client Advisory Responsive */
@media (max-width: 767.98px) { /* Use 767.98px to avoid overlap with 768px */
    .advisory-card {
        flex-direction: column;
        text-align: center;
        padding: calc(var(--spacing-unit) * 4); /* 32px */
        gap: calc(var(--spacing-unit) * 2.5); /* 20px */
    }
    .advisory-icon { margin: 0 auto calc(var(--spacing-unit) * 1.5); font-size: 2.2rem; }
    .advisory-text h3 { font-size: 1.5rem; }
    .advisory-list { text-align: left; display: inline-block; margin: calc(var(--spacing-unit) * 2.5) auto; }
    .advisory-list li { font-size: 0.9rem; }
}

/* ========================================================================
   Testimonials Section (.testimonials-section)
   ======================================================================== */
/* Section padding applied via .section-padding class in HTML */
/* Background handled by .bg-light class in HTML */

.testimonials-section .section-header .section-title { color: var(--primary-blue); }
.testimonials-section .section-header .section-title::after { background: linear-gradient(to right, var(--primary-blue), var(--accent-yellow)); }
/* Optional: Add quote graphic */
.testimonials-section .section-header::before {
    content: '\f10d'; /* Font Awesome quote-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -10px; /* Adjust position */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--primary-blue);
    opacity: 0.1;
    z-index: -1; /* Behind title */
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsiveness: Flexible columns */
    gap: calc(var(--spacing-unit) * 3.75); /* Spacing: 30px */
    margin-bottom: calc(var(--spacing-unit) * 6); /* Spacing: 48px */
}

.testimonial-box {
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 3.5); /* Spacing: 28px */
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-blue); /* Hierarchy: Accent border */
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-speed);
    position: relative;
    min-height: 200px; /* Ensure minimum height */
}
/* Cycle border colors */
.testimonial-box:nth-child(3n+1) { border-left-color: var(--primary-blue); }
.testimonial-box:nth-child(3n+2) { border-left-color: var(--accent-green); }
.testimonial-box:nth-child(3n+3) { border-left-color: var(--accent-red); }

.testimonial-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-text {
    font-style: italic;
    color: var(--neutral-dark);
    margin-bottom: calc(var(--spacing-unit) * 2.5); /* Spacing: 20px */
    flex-grow: 1; /* Fill space */
    position: relative;
    padding-left: 0; /* Remove padding, use margin maybe */
    line-height: 1.7; /* Readability */
    font-size: 0.95rem; /* Typography */
}
 

.testimonial-author {
    font-weight: 600;
    color: var(--neutral-medium); /* Subtler author color */
    text-align: right;
    margin-top: auto; /* Push to bottom */
    padding-top: calc(var(--spacing-unit) * 1.5); /* Spacing: 12px */
    border-top: 1px solid var(--neutral-border); /* Separator */
    font-size: 0.9rem; /* Typography */
}
/* Highlight author on hover */
.testimonial-box:hover .testimonial-author {
    color: var(--primary-blue); /* Match border color */
}
.testimonial-box:nth-child(3n+2):hover .testimonial-author { color: var(--accent-green); }
.testimonial-box:nth-child(3n+3):hover .testimonial-author { color: var(--accent-red); }

.testimonial-cta { text-align: center; }
.testimonial-cta .btn-secondary { /* Style the specific button */
   /* background-color: var(--button-secondary-bg);
   color: var(--button-secondary-text); */
   /* Use default styles + hover from base */
}

/* Testimonials Responsive */
@media (max-width: 992px) {
    .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 767.98px) {
     .testimonials-grid { grid-template-columns: 1fr; gap: calc(var(--spacing-unit) * 3); /* 24px */ }
     .testimonial-box { padding: calc(var(--spacing-unit) * 3); /* 24px */ }
}


/* ========================================================================
   Quote Modal Styles (Copied from refined main.css)
   ======================================================================== */
.modal { display: none; position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.75); z-index: 1000; overflow-y: auto; transition: opacity 0.3s ease; opacity: 0; align-items: center; justify-content: center; padding: calc(var(--spacing-unit) * 2.5); }
.modal.show { display: flex; opacity: 1; }
.modal-content { background-color: var(--white); width: 100%; max-width: 550px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); position: relative; overflow: hidden; animation: slideUp 0.4s ease-out; max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: var(--neutral-dark); cursor: pointer; transition: all var(--transition-speed); z-index: 10; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background-color: rgba(0,0,0,0.05); border-radius: 50%; border: none; }
.close-btn:hover { color: var(--white); background-color: var(--accent-red); transform: rotate(90deg); }
.form-step { padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4.5); display: none; position: relative; flex-grow: 1; overflow-y: auto; animation: fadeIn 0.4s; }
.form-step.active { display: block; }
#step1 { background: linear-gradient(135deg, var(--white) 0%, rgba(9, 116, 176, 0.05) 100%); } #step2 { background: linear-gradient(135deg, var(--white) 0%, rgba(206, 34, 50, 0.05) 100%); } #step3 { background: linear-gradient(135deg, var(--white) 0%, rgba(33, 158, 74, 0.05) 100%); } #contact-step { background: linear-gradient(135deg, var(--white) 0%, rgba(255, 224, 4, 0.05) 100%); }
.form-step h2 { font-size: 1.8rem; margin-bottom: calc(var(--spacing-unit) * 1.5); background: linear-gradient(90deg, var(--primary-blue), var(--accent-green)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; font-weight: 700; }
#step1 h2 { background-image: linear-gradient(90deg, var(--primary-blue), #3a7fd5); } #step2 h2 { background-image: linear-gradient(90deg, var(--accent-red), #f54e62); } #step3 h2 { background-image: linear-gradient(90deg, var(--accent-green), #41b48e); } #contact-step h2 { background-image: linear-gradient(90deg, var(--accent-yellow), #ffc957); }
.form-step > p:first-of-type { color: var(--neutral-medium); margin-bottom: calc(var(--spacing-unit) * 3); font-size: 1rem; }
.progress-bar { height: 8px; background-color: var(--neutral-border); border-radius: 4px; margin-bottom: calc(var(--spacing-unit) * 3); overflow: hidden; }
.progress { height: 100%; background: linear-gradient(90deg, var(--primary-blue), var(--accent-red), var(--accent-green), var(--accent-yellow)); border-radius: 4px; transition: width 0.4s ease; background-size: 400% 100%; animation: gradientShift 4s ease infinite; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.step-indicator { display: flex; justify-content: center; margin-bottom: calc(var(--spacing-unit) * 3.5); }
.step-dot { width: 12px; height: 12px; border-radius: 50%; background-color: var(--neutral-border); margin: 0 var(--spacing-unit); transition: all 0.3s ease; position: relative; }
.step-dot::before { content: ''; position: absolute; top: 50%; right: 100%; transform: translateY(-50%); height: 2px; width: 16px; background-color: var(--neutral-border); margin-right: 4px; transition: background-color 0.3s ease; } .step-dot:first-child::before { display: none; }
.step-dot.active { transform: scale(1.3); box-shadow: 0 0 0 3px rgba(255,255,255,0.5), 0 0 0 5px rgba(0,0,0,0.1); }
#step1 .step-dot:nth-child(1) { background-color: var(--primary-blue); } #step1 .step-dot.active:nth-child(1) { box-shadow: 0 0 0 3px rgba(9, 116, 176, 0.2), 0 0 0 5px rgba(9, 116, 176, 0.1); } #step2 .step-dot:nth-child(1), #step2 .step-dot:nth-child(2) { background-color: var(--accent-red); } #step2 .step-dot:nth-child(2)::before { background-color: var(--accent-red); } #step2 .step-dot.active:nth-child(2) { box-shadow: 0 0 0 3px rgba(206, 34, 50, 0.2), 0 0 0 5px rgba(206, 34, 50, 0.1); } #step3 .step-dot:nth-child(1), #step3 .step-dot:nth-child(2), #step3 .step-dot:nth-child(3) { background-color: var(--accent-green); } #step3 .step-dot:nth-child(2)::before, #step3 .step-dot:nth-child(3)::before { background-color: var(--accent-green); } #step3 .step-dot.active:nth-child(3) { box-shadow: 0 0 0 3px rgba(33, 158, 74, 0.2), 0 0 0 5px rgba(33, 158, 74, 0.1); } #contact-step .step-dot { background-color: var(--accent-yellow); } #contact-step .step-dot::before { background-color: var(--accent-yellow); } #contact-step .step-dot.active:nth-child(4) { box-shadow: 0 0 0 3px rgba(255, 224, 4, 0.2), 0 0 0 5px rgba(255, 224, 4, 0.1); }
.form-group { margin-bottom: calc(var(--spacing-unit) * 3); position: relative; }
.form-group label { display: block; margin-bottom: var(--spacing-unit); font-weight: 600; color: var(--primary-blue); font-size: 1rem; position: relative; padding-left: 12px; }
.form-group label::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 16px; background-color: var(--primary-blue); border-radius: 2px; }
#step2 .form-group label { color: var(--accent-red); } #step2 .form-group label::before { background-color: var(--accent-red); } #step3 .form-group label { color: var(--accent-green); } #step3 .form-group label::before { background-color: var(--accent-green); } #contact-step .form-group label { color: var(--accent-yellow); } #contact-step .form-group label::before { background-color: var(--accent-yellow); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2); border: 2px solid var(--neutral-border); border-radius: 10px; font-size: 1rem; font-family: inherit; transition: all 0.3s; background-color: var(--white); color: var(--neutral-dark); box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.form-group textarea { line-height: var(--line-height-base); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group input:hover, .form-group textarea:hover, .form-group select:hover { border-color: var(--neutral-medium); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(9, 116, 176, 0.15); }
#step2 .form-group input:focus, #step2 .form-group textarea:focus, #step2 .form-group select:focus { border-color: var(--accent-red); box-shadow: 0 0 0 3px rgba(206, 34, 50, 0.15); } #step3 .form-group input:focus, #step3 .form-group textarea:focus, #step3 .form-group select:focus { border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(33, 158, 74, 0.15); } #contact-step .form-group input:focus, #contact-step .form-group textarea:focus, #contact-step .form-group select:focus { border-color: var(--accent-yellow); box-shadow: 0 0 0 3px rgba(255, 224, 4, 0.15); }
.form-group label:has(+ :required)::after { content: " *"; color: var(--accent-red); font-weight: normal; margin-left: 2px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: calc(var(--spacing-unit) * 4); flex-wrap: wrap; gap: var(--spacing-unit); }
.form-nav button { padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5); border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; font-size: 0.95rem; letter-spacing: 0.5px; position: relative; overflow: hidden; z-index: 1; }
.form-nav button::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background-color: rgba(255,255,255,0.2); transition: width 0.3s; z-index: -1; } #contact-step .submit-btn::before { background-color: rgba(0,0,0,0.1); }
.form-nav button:hover::before { width: 100%; }
.back-btn { background-color: var(--neutral-light); color: var(--neutral-dark); order: 1; } .back-btn:hover { background-color: #e0e0e0; transform: translateX(-2px); }
.next-btn, .submit-btn { color: var(--white); margin-left: auto; box-shadow: 0 4px 15px rgba(0,0,0,0.1); order: 2; }
#step1 .next-btn { background: linear-gradient(90deg, var(--primary-blue), #3a7fd5); color: var(--white); } #step1 .next-btn:hover { background: linear-gradient(90deg, #075a8f, var(--primary-blue)); transform: translateX(2px); box-shadow: 0 6px 20px rgba(9, 116, 176, 0.3); }
#step2 .next-btn { background: linear-gradient(90deg, var(--accent-red), #f54e62); color: var(--white); } #step2 .next-btn:hover { background: linear-gradient(90deg, #a71b27, var(--accent-red)); transform: translateX(2px); box-shadow: 0 6px 20px rgba(206, 34, 50, 0.3); }
#step3 .next-btn { background: linear-gradient(90deg, var(--accent-green), #41b48e); color: var(--white); } #step3 .next-btn:hover { background: linear-gradient(90deg, #1a7d3a, var(--accent-green)); transform: translateX(2px); box-shadow: 0 6px 20px rgba(33, 158, 74, 0.3); }
#contact-step .submit-btn { background: linear-gradient(90deg, var(--accent-yellow), #ffc957); color: var(--neutral-dark); } #contact-step .submit-btn:hover { background: linear-gradient(90deg, #e0a020, var(--accent-yellow)); transform: translateX(2px); box-shadow: 0 6px 20px rgba(255, 224, 4, 0.3); }
.next-btn:active, .submit-btn:active { transform: translateY(1px); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
#success-step { background: linear-gradient(135deg, rgba(33, 158, 74, 0.05) 0%, rgba(9, 116, 176, 0.08) 100%); display: none; } #success-step.active { display: block; }
.success-message { text-align: center; padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 4); border-radius: 16px; position: relative; color: var(--neutral-dark); }
.success-message::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230974B0' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"); opacity: 0.8; z-index: -1; border-radius: 16px; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto calc(var(--spacing-unit) * 3); position: relative; animation: successPulse 2s infinite ease-in-out; background: conic-gradient(var(--primary-blue), var(--accent-red), var(--accent-green), var(--accent-yellow), var(--primary-blue)); box-shadow: 0 15px 35px rgba(33, 158, 74, 0.25); }
.success-icon::after { content: "✓"; position: absolute; color: var(--white); font-size: 2.2rem; animation: scaleIn 0.5s ease-out; }
@keyframes successPulse { 0% { box-shadow: 0 0 0 0 rgba(33, 158, 74, 0.4); transform: scale(1); } 70% { box-shadow: 0 0 0 15px rgba(33, 158, 74, 0); transform: scale(1.05); } 100% { box-shadow: 0 0 0 0 rgba(33, 158, 74, 0); transform: scale(1); } } @keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
.success-message h2 { margin-bottom: calc(var(--spacing-unit) * 2); font-size: 2rem; background: linear-gradient(90deg, var(--primary-blue), var(--accent-green)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.success-message p { color: var(--neutral-dark); margin-bottom: calc(var(--spacing-unit) * 4); line-height: var(--line-height-base); font-size: 1.05rem; }
.close-modal-btn { background: var(--accent-green); color: white; border: none; padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4); border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 1rem; box-shadow: 0 8px 20px rgba(33, 158, 74, 0.25); }
.close-modal-btn:hover { background: #1a7d3a; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(33, 158, 74, 0.35); }
/* Validation */
.form-group input.error, .form-group textarea.error, .form-group select.error { border-color: var(--accent-red) !important; animation: shake 0.5s; }
#form-error-message { color: var(--accent-red); background-color: rgba(206, 34, 50, 0.1); border: 1px solid rgba(206, 34, 50, 0.3); border-radius: var(--border-radius); padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.5); font-size: 0.9rem; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } }
/* Modal Responsive */
@media (max-width: 600px) { .modal-content { width: 95%; margin: 10px auto; border-radius: 12px; } .form-step { padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2.5); } .form-step h2 { font-size: 1.6rem; } .form-nav button { padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2.5); font-size: 0.9rem; } .success-message { padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2.5); } .success-icon { width: 70px; height: 70px; } .success-icon::after { font-size: 2rem; } .success-message h2 { font-size: 1.8rem; } }


/* ========================================================================
   Footer Styles (Copied from refined main.css)
   ======================================================================== */
.site-footer { background-color: var(--footer-bg); color: var(--footer-text); padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 3) 0; font-size: 0.9rem; border-top: 4px solid var(--accent-yellow); }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: calc(var(--spacing-unit) * 5); margin-bottom: calc(var(--spacing-unit) * 5); }
.footer-column { flex: 1 1 220px; min-width: 200px; }
.footer-title { font-size: 1.1rem; margin-bottom: calc(var(--spacing-unit) * 2.5); font-weight: 600; color: var(--accent-yellow); position: relative; padding-bottom: calc(var(--spacing-unit) * 1.25); }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--accent-yellow); }
.footer-logo-section .certification-badges { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--spacing-unit) * 1.5); }
.partner-badge, .partner-badgee { max-height: 45px; width: auto; max-width: 150px; background-color: var(--white); padding: var(--spacing-unit); border-radius: 4px; display: block; } .partner-badgee { max-height: 50px; width: 150px; }
.footer-links li { margin-bottom: calc(var(--spacing-unit) * 1.25); } .footer-links a { color: var(--footer-text); transition: color var(--transition-speed), transform var(--transition-speed); display: inline-block; } .footer-links a:hover { color: var(--accent-yellow); transform: translateX(4px); }
.footer-contact-section address { font-style: normal; } .footer-contact-section p { margin-bottom: calc(var(--spacing-unit) * 1.5); display: flex; align-items: flex-start; gap: calc(var(--spacing-unit) * 1.25); line-height: 1.5; } .footer-contact-section a { color: var(--footer-text); } .footer-contact-section a:hover { color: var(--accent-yellow); } .footer-contact-section i { color: var(--accent-yellow); width: 18px; text-align: center; font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.multi-contact { display: flex; align-items: flex-start; } .multi-contact i { margin-top: 3px; margin-right: 8px; } .contact-group { display: flex; flex-direction: column; } .contact-group a { display: inline-block; margin-bottom: 2px; line-height: 1.4; }
.footer-social-section .social-icons { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 1.8); } .social-icon { color: var(--footer-text); font-size: 1.3rem; transition: color var(--transition-speed), transform var(--transition-speed); display: inline-block; } .social-icon:hover { color: var(--accent-yellow); transform: translateY(-3px) scale(1.1); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: calc(var(--spacing-unit) * 3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 2); font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.copyright p { margin: 0; } .footer-links-bottom a { color: rgba(255, 255, 255, 0.7); margin: 0 var(--spacing-unit); transition: color var(--transition-speed); } .footer-links-bottom a:hover { color: var(--accent-yellow); }
/* Footer Responsive */
@media (max-width: 768px) { .footer-content { gap: calc(var(--spacing-unit) * 4); } .footer-column { min-width: 45%; } .footer-bottom { flex-direction: column; text-align: center; } }
@media (max-width: 576px) { .footer-column { min-width: 100%; } }