:root {
    --blue: #0077AF;
    --green: #00C653;
    --navy: #0b1f3b;
    --ink: #0f172a;
    --muted: #6b7280;
    --ring: rgba(0, 119, 175, .25);
    --shadow: 0 8px 24px rgba(2, 6, 23, .08)
}
* { box-sizing: border-box }
html, body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height: 1.55 }
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
.container { width: min(1200px, 92vw); margin-inline: auto }
.mini { font-size: .92rem; color: var(--muted) }
header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #e5e7eb }
.nav { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem }
.logo { font-weight: 900; font-size: 1.2rem; color: var(--blue) }
nav a { margin-left: 1rem; color: #0b1f3b; font-weight: 500 }
.btn { display: inline-flex; align-items: center; gap: .45rem; background: var(--blue); color: #fff; border-radius: .8rem; padding: .85rem 1.1rem; border: 2px solid transparent; box-shadow: var(--shadow); font-weight: 700; transition: all .25s ease }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(2, 6, 23, .12) }
.btn.alt { background: var(--green) }
section { padding: 3rem 1rem }
.section-title { font: 700 1.9rem/1.2 Poppins, Inter, sans-serif; margin: 0 0 .8rem }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: .8rem; padding: 1.2rem; box-shadow: var(--shadow); transition: all .25s ease }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(2, 6, 23, .12) }
footer { background: var(--navy); color: #c7d2fe; padding: 2rem 1rem; margin-top: 2rem; text-align: center }
.hero { padding: 3.2rem 1rem; background: radial-gradient(120% 120% at 10% 0%, #e6f9ef 0, #f1f8fd 40%, #fff 70%) }
.hero h1 { font: 800 2.6rem/1.1 Poppins, Inter, sans-serif; margin: .7rem 0 }
.hero p { max-width: 62ch }
#how-it-works .content { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; align-items: center }
@media (max-width:960px) { #how-it-works .content { grid-template-columns: 1fr } }
.illustration img { width: 100%; height: auto; max-width: 520px; margin: 0 auto; display: block; border: 1px solid #e5e7eb; border-radius: .6rem; box-shadow: 0 4px 16px rgba(0, 0, 0, .08) }
.caption { margin: .6rem auto 0; text-align: center; color: #94a3b8; font-style: italic; max-width: 60ch; font-size: .85rem }
#compliance .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem }
@media (max-width:960px) { #compliance .pillars { grid-template-columns: 1fr } }
#compliance .pCard { background: #fff; border: 1px solid #e5e7eb; border-radius: .8rem; padding: 1rem; box-shadow: var(--shadow); transition: .25s }
#compliance .pCard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(2, 6, 23, .12) }
#compliance .pHead { display: flex; gap: .8rem; align-items: center }
#compliance .illus { width: 56px; height: 56px; border-radius: .8rem; border: 1px solid #e5e7eb; display: grid; place-items: center; background: linear-gradient(135deg, #f0f9ff, #ecfeff) }
#compliance .illus svg { width: 32px; height: 32px }
#compliance details { margin-top: .5rem }
#compliance summary { cursor: pointer; user-select: none; color: #0b1f3b; font-weight: 700 }
#compliance summary::marker { color: #94a3b8 }
#compliance .quick { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; margin-top: 1.2rem }
@media (max-width:960px) { #compliance .quick { grid-template-columns: 1fr } }
#compliance .tableCard { background: #fff; border: 1px solid #e5e7eb; border-radius: .8rem; padding: 1rem; box-shadow: var(--shadow); transition: .25s }
#compliance .tableCard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(2, 6, 23, .12) }
#compliance table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #eef2f7; border-radius: .8rem }
#compliance th, #compliance td { padding: .75rem .9rem; border-bottom: 1px solid #eef2f7; text-align: left }
#compliance th { background: #f8fafc }
#compliance tr:last-child td { border-bottom: none }
#compliance .get { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem }
@media (max-width:960px) { #compliance .get { grid-template-columns: repeat(2, 1fr) } }
#compliance .g { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: .8rem; padding: .9rem; display: flex; gap: .6rem; align-items: center; transition: .25s }
#compliance .g:hover { transform: translateY(-2px) }
#compliance .dot { width: 10px; height: 10px; border-radius: 999px; background: #00C653; box-shadow: 0 0 0 0 rgba(0, 198, 83, .5); animation: pulse 2.2s ease-out infinite }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 198, 83, .5) } 70% { box-shadow: 0 0 0 12px rgba(0, 198, 83, 0) } 100% { box-shadow: 0 0 0 0 rgba(0, 198, 83, 0) } }
#compliance .flowline { margin-top: 1.2rem; padding: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .8rem; box-shadow: var(--shadow) }
#compliance .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem }
@media (max-width:960px) { #compliance .steps { grid-template-columns: 1fr } }
#compliance .step { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: .8rem; padding: .7rem .6rem; text-align: center }
#consultation .form, #consultation-form .form { background: #fff; border: 1px solid #e5e7eb; border-radius: .8rem; padding: 1.25rem; box-shadow: var(--shadow) }
#consultation .field, #consultation-form .field { display: flex; flex-direction: column }
#consultation label, #consultation-form label { font-weight: 600; font-size: .92rem; margin-bottom: .25rem; color: #0b1f3b }
#consultation input, #consultation select, #consultation textarea, #consultation-form input, #consultation-form select, #consultation-form textarea { padding: .9rem .95rem; border: 1px solid #e5e7eb; border-radius: .8rem; background: #fff; color: var(--ink) }
#consultation input:focus, #consultation select:focus, #consultation textarea:focus, #consultation-form input:focus, #consultation-form select:focus, #consultation-form textarea:focus { outline: 3px solid var(--ring); border-color: #93c5fd }
#consultation .split, #consultation-form .split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem }
@media (max-width:960px) { #consultation .split, #consultation-form .split { grid-template-columns: 1fr } }
#consultation textarea, #consultation-form textarea { min-height: 160px }
#consultation .assurance { margin-top: .6rem; display: flex; gap: .6rem; flex-wrap: wrap }
#consultation .assurance .pill { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: .6rem; padding: .25rem .55rem }
#contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start }
@media (max-width:960px) { #contact .grid { grid-template-columns: 1fr } }
.map-card { background: #fff; border: 1px solid #e5e7eb; border-radius: .8rem; padding: 0; box-shadow: var(--shadow) }
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; border-radius: .8rem }
@media(max-width:960px) { .map-card iframe { height: 240px } }

/* --- Styles for Services Page --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: flex; /* Changed to flexbox for better alignment */
    flex-direction: column; /* Stacks items vertically */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .8rem;
    padding: 0; /* Remove padding from card to allow image to touch edges */
    box-shadow: var(--shadow);
    text-align: center;
    transition: all .25s ease;
    text-decoration: none;
    color: var(--ink);
    overflow: hidden; /* Important: keeps the image corners rounded */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(2, 6, 23, .12);
    border-color: var(--blue);
}

.service-icon {
    /* Remove fixed height and circular styling */
    width: 100%;
    height: 200px; /* Give the image a fixed height */
    margin: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

/* Container for the text content below the image */
.service-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows this area to grow, pushing the link to the bottom */
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--navy);
}

.service-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1; /* Pushes the link down */
}

.service-link {
    font-weight: 700;
    color: var(--blue);
    margin-top: auto; /* Pushes link to the bottom of the card */
}

