/* Load Inter from Google Fonts for consistent typography across site */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Colors chosen to match logo: blues and warm neutral */
:root {
    --primary: #0097d6;
    /* bright cyan-blue */
    --primary-dark: #2b33b3;
    /* deep blue */
    --accent: #7b6a66;
    /* warm neutral/brown */
    --bg: #fbfdfe;
    --muted: #6b6b6b;
    --card: #ffffff;
    --page-gutter: 20px;
    /* legacy, used by header padding */
    --accent-orange: #f29659;
    /* New container/layout variables */
    --container-max: 1320px;
    /* container max-width (between 1200 - 1320px) */
    --container-padding: 32px;
    /* desktop horizontal padding */
    --container-padding-tablet: 20px;
    --container-padding-mobile: 16px;
    --section-vertical: 72px;
    /* vertical spacing between sections (desktop: 60-80px) */
    /* Font system: prefer Inter across the site; overrideable by page CSS if needed */
    --font-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    --font-display: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: var(--bg);
    color: #122;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0
}

/* Ensure every page section has consistent left/right gutters. We set padding
  on `main` so sections or elements that don't use `.container` still receive
  the same horizontal padding. Individual `.container` elements are centered
  via max-width and no longer carry horizontal padding to avoid double-padding. */
main {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit
}

/* Header action (primary CTA) */
.header-actions {
    margin-left: 1rem;
    display: flex;
    align-items: center
}

.cta-resolve {
    background: linear-gradient(90deg, var(--accent-orange), #f4773a);
    color: #fff;
    padding: .55rem .9rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none
}

.cta-resolve:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(244, 119, 58, 0.12)
}

@media (max-width:900px) {
    .header-actions {
        display: none
    }
}

.logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-right: .75rem
}

.brand-text h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.6px
}

.tag {
    margin: 0;
    font-size: .85rem;
    color: var(--muted)
}

.main-nav a {
    margin-left: 1rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600
}

/* Improve header alignment and nav padding for consistent spacing */
.site-header .header-inner {
    padding: 0.5rem var(--page-gutter)
}

.main-nav {
    align-items: center
}

.main-nav>* {
    display: flex;
    align-items: center
}

.main-nav a {
    padding: .45rem .6rem;
    border-radius: 8px
}

.main-nav .nav-link {
    margin-left: .8rem
}

.brand {
    gap: .6rem
}

/* Hover and transition effects */
a,
.main-nav a,
.topbar a,
.legal-toggle,
.btn,
.social-link {
    transition: color .16s ease, background-color .16s ease, transform .12s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    padding: .45rem .7rem;
    border-radius: 8px;
    outline: none;
}

.main-nav a:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 151, 214, 0.18);
}

.btn:hover,
.btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.12);
}

.social-link:hover,
.social-link:focus {
    color: #fff;
    transform: translateY(-2px);
}

.legal-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.legal-menu .dropdown a {
    transition: background .14s ease, color .14s ease;
}

.site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    backdrop-filter: blur(4px);
    z-index: 30
}

/* Header visual polish */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1
}

.brand-text h1 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin: 0
}

.brand-text .tag {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px
}

.main-nav {
    display: flex;
    gap: 0.25rem;
    align-items: center
}

.main-nav>.main-dropdown {
    margin-left: 0.25rem
}

.main-nav .submenu-toggle {
    background: transparent;
    border-radius: 8px;
    padding: .42rem .7rem;
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 700
}

.main-nav .submenu-toggle:focus {
    outline: 2px solid rgba(43, 51, 179, 0.12)
}

/* Visually group main nav items and provide a subtle pill background on hover */
.main-nav>.main-dropdown>button,
.main-nav a {
    border-radius: 8px;
    padding: .45rem .6rem
}

.main-nav>.main-dropdown>button:hover,
.main-nav a:hover {
    background: linear-gradient(90deg, rgba(0, 151, 214, 0.08), rgba(43, 51, 179, 0.04));
}

/* Submenu (dropdown) card */
.main-dropdown .submenu {
    min-width: 220px;
    padding: .45rem;
    border-radius: 10px
}

.main-dropdown .submenu a {
    padding: .6rem .9rem;
    color: var(--muted);
    display: block
}

.main-dropdown .submenu h4 {
    margin: 0 0 .35rem
}

/* Make mega menu columns a little more compact on desktop */
.mega-grid {
    gap: 1.25rem
}

/* Mobile menu behaviors */
@media (max-width:900px) {
    .menu-toggle {
        display: flex
    }

    .brand-text {
        display: none
    }

    .main-nav {
        flex-direction: column;
        background: var(--card);
        position: relative;
        padding: 1rem;
        border-radius: 10px;
        border: 1px solid rgba(16, 24, 40, 0.04);
        box-shadow: 0 8px 28px rgba(7, 22, 48, 0.06)
    }

    .main-nav.show {
        display: flex
    }

    .main-nav>.main-dropdown {
        width: 100%
    }

    .main-nav a,
    .main-nav .submenu-toggle {
        width: 100%;
        text-align: left;
        padding: .6rem 1rem
    }

    .main-dropdown .submenu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 0
    }
}

/* Top contact bar */
.topbar {
    background: var(--primary-dark);
    color: white;
    font-size: .95rem
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem var(--page-gutter)
}

.topbar .contact-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.topbar .contact-item {
    color: rgba(255, 255, 255, 0.95)
}

/* Icon + label layout for topbar contact items */
.topbar .contact-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.topbar .contact-item i {
    font-size: 14px;
    display: inline-block;
}

.topbar .contact-item .contact-label {
    display: inline-block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.topbar a {
    color: white;
    text-decoration: none;
    font-weight: 600
}

.social-icons {
    display: flex;
    align-items: center
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    margin-left: .6rem
}

.social-link svg {
    display: block
}

/* Font Awesome icons in topbar */
.social-link i {
    font-size: 14px;
    display: inline-block
}

.social-link:hover i {
    transform: translateY(-2px);
}

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: .35rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.menu-toggle .hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-dark);
    position: relative
}

.menu-toggle .hamburger:before,
.menu-toggle .hamburger:after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary-dark)
}

.menu-toggle .hamburger:before {
    top: -6px
}

.menu-toggle .hamburger:after {
    top: 6px
}

/* Hide nav on small screens until toggled */
.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center
}

.main-nav.show {
    display: flex
}

/* Legal documents dropdown in topbar */
.legal-menu {
    position: relative;
    margin-left: 1rem
}

.legal-toggle {
    background: transparent;
    border: 0;
    color: white;
    font-weight: 700;
    cursor: pointer;
    padding: .35rem .6rem;
    border-radius: 6px
}

.legal-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.16)
}

.legal-menu .dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--card);
    color: #122;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    min-width: 260px;
    padding: 6px 0;
    display: none;
    z-index: 50
}

.legal-menu.open .dropdown,
.legal-menu:focus-within .dropdown {
    display: block
}

.legal-menu .dropdown li {
    list-style: none
}

.legal-menu .dropdown a {
    display: block;
    padding: .6rem .9rem;
    color: var(--muted);
    text-decoration: none
}

.legal-menu .dropdown a:hover {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white
}

/* Ensure topbar dropdown links override generic topbar anchors and show hover */
.topbar .legal-menu .dropdown a {
    color: var(--muted);
    display: block;
    padding: .6rem .9rem;
    cursor: pointer
}

.topbar .legal-menu .dropdown a:hover,
.topbar .legal-menu .dropdown a:focus {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff;
    outline: none
}

.topbar .legal-menu .dropdown a {
    transition: background .14s ease, color .14s ease, transform .12s ease
}

/* Stronger left-accent hover for legal dropdown */
.topbar .legal-menu .dropdown a {
    position: relative;
    padding-left: 1rem
}

.topbar .legal-menu .dropdown a::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .16s ease
}

.topbar .legal-menu .dropdown a:hover::before,
.topbar .legal-menu .dropdown a:focus::before {
    transform: scaleY(1)
}

.topbar .legal-menu .dropdown a:hover,
.topbar .legal-menu .dropdown a:focus {
    padding-left: 0.9rem;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06)
}

/* Improve focus visibility for keyboard users */
.topbar .legal-menu .dropdown a:focus-visible {
    outline: 3px solid rgba(0, 151, 214, 0.18);
    border-radius: 6px
}

.legal-menu .divider {
    height: 1px;
    background: rgba(16, 24, 40, 0.06);
    margin: .35rem 0
}

/* Main header dropdown (Who we are?) */
.main-dropdown {
    position: relative
}

.main-dropdown .submenu-toggle {
    background: transparent;
    border: 0;
    color: var(--primary-dark);
    font-weight: 700;
    padding: .35rem .6rem;
    cursor: pointer
}

.main-dropdown .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--card);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    padding: 6px 0;
    display: none;
    z-index: 40
}

.main-dropdown:hover .submenu,
.main-dropdown:focus-within .submenu {
    display: block
}

.main-dropdown .submenu li {
    list-style: none
}

.main-dropdown .submenu a {
    display: block;
    padding: .6rem .9rem;
    color: var(--muted);
    text-decoration: none
}

.main-dropdown .submenu a:hover {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white
}

/* Mobile adjustments for main dropdown */
@media (max-width:900px) {
    .main-dropdown {
        width: 100%
    }

    .main-dropdown .submenu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 0;
        margin-top: .25rem
    }

    .main-dropdown.open .submenu {
        display: block
    }

    .main-dropdown .submenu a {
        padding: .6rem 1rem
    }

    .main-dropdown .submenu-toggle {
        width: 100%;
        text-align: left
    }
}

/* Mega menu styles for Business Setup */
.site-header {
    --site-header-height: 72px
}

.main-dropdown.mega .mega-menu {
    position: fixed;
    left: 50%;
    right: auto;
    top: calc(var(--site-header-height) + 8px);
    background: var(--card);
    padding: 1.25rem 0;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
    display: none;
    z-index: 60;
    transform: translateX(-50%);
    width: clamp(300px, calc(100vw - 64px), 1100px);
}

.main-dropdown.mega:hover .mega-menu,
.main-dropdown.mega:focus-within .mega-menu,
.main-dropdown.mega.open .mega-menu {
    display: block
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem
}

.container-small {
    max-width: 1100px
}

.mega-grid .col-heading {
    margin: 0 0 .75rem;
    color: var(--primary-dark);
    font-size: 1.05rem
}

.mega-grid ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.mega-grid li {
    margin: 0 0 .9rem
}

.mega-grid a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600
}

.mega-grid a:hover {
    color: var(--primary-dark);
    background: transparent
}

.mega-grid .col {
    padding: 0 1rem
}

/* Redesigned mega menu sections */
.mega-section {
    display: flex;
    flex-direction: column
}

.mega-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: .6rem
}

.mega-desc {
    color: var(--muted);
    font-size: .95rem;
    margin: 0 0 .85rem;
    line-height: 1.25
}

.mega-grid .col a {
    display: block;
    padding: .28rem 0;
    border-radius: 6px
}

.mega-grid .col a:hover {
    background: rgba(0, 151, 214, 0.04);
    color: var(--primary-dark)
}

.mega-grid .col ul {
    margin: 0;
    padding-left: 0
}

/* Slightly reduce the column padding so the icons align nicely */
.mega-grid .col {
    padding: 0 .75rem
}

/* When Tippy appends the element to body it wraps it in .tippy-box.
   Remove the dark background and extra padding from that wrapper so
   the original `.mega-menu` styles control appearance. */
.tippy-box[data-theme~='custom'] {
    background: transparent;
    box-shadow: none
}

.tippy-box[data-theme~='custom'] .tippy-content {
    padding: 0;
    background: transparent
}

/* Add horizontal gutter inside the Tippy wrapper so popovers don't touch viewport edges */
.tippy-box[data-theme~='custom'] {
    padding: 0 1rem
}

/* Base styles for .mega-menu so it retains the white card look even when moved into body by Tippy */
.mega-menu {
    background: var(--card);
    padding: 1.25rem 0;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
    z-index: 120;
    box-sizing: border-box
}

/* Ensure the mega menu keeps a comfortable width when shown as a popover; respect viewport gutters */
.mega-menu {
    min-width: 420px;
    max-width: 1100px;
    width: auto;
}

.mega-menu {
    max-width: calc(100vw - 2rem)
}

@media (max-width:900px) {
    .mega-menu {
        min-width: unset;
        max-width: 100%
    }
}

/* vertical separators between columns */
.mega-grid .col+.col {
    border-left: 1px dashed rgba(0, 0, 0, 0.06);
}

/* Trademark-specific styling: dotted orange separator and highlighted item */
.mega-menu.trademark .col+.col {
    border-left: 2px dotted #e06b4b;
    padding-left: 1.25rem
}

.mega-menu.trademark .col-heading {
    color: #2b2b2b
}

.mega-menu.trademark a.highlight {
    color: #e06b4b;
    font-weight: 700
}

/* General highlight for any mega menu item */
.mega-menu a.highlight {
    color: #e06b4b;
    font-weight: 700
}

@media (max-width:1100px) {
    .mega-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:700px) {
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .main-dropdown.mega .mega-menu {
        position: static
    }
}



.hero {
    padding: 4.5rem 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 1.5rem;
    align-items: center
}

.hero-left {
    padding: 0
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 1rem
}

.hero-title {
    margin: 0 0 .75rem;
    font-size: 2.05rem;
    line-height: 1.05;
    color: #fff;
    font-weight: 800
}

.hero-sub {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin: 1rem 0 1.25rem
}

.hero-highlight {
    display: flex;
    gap: .8rem;
    align-items: center
}

.hero-highlight i {
    color: #fff;
    background: var(--accent-orange);
    border-radius: 8px;
    padding: .45rem;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.hero-highlight span {
    color: #fff;
    font-weight: 600
}

.hero-cta {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-top: .5rem
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-orange), #f4773a);
    color: #fff;
    padding: .72rem 1.05rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(242, 150, 89, 0.12);
    font-weight: 800;
    text-decoration: none
}

.btn-ghost.call {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: .6rem .85rem;
    border-radius: 10px;
    text-decoration: none
}

.hero-micro {
    display: block;
    margin-top: .45rem;
    color: var(--muted);
    font-size: .85rem
}

.hero-trust {
    display: flex;
    gap: 1.1rem;
    margin-top: 1rem;
    flex-wrap: wrap
}

.hero-trust li {
    list-style: none;
    color: var(--muted);
    font-weight: 600
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-visual {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.12);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-visual svg {
    max-width: 100%;
    height: auto
}

/* Make hero sections full-bleed while keeping inner content aligned to site gutters */
.hero,
.iec-hero,
section[class^="hero-"],
section[class*="-hero"],
header[class^="hero-"],
header[class*="-hero"] {
    /* cancel main's horizontal padding so background reaches viewport edges */
    margin-left: calc(var(--container-padding) * -1);
    margin-right: calc(var(--container-padding) * -1);
    /* re-add padding inside hero so inner content aligns with other sections */
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: calc(100% + (var(--container-padding) * 2));
    box-sizing: border-box;
}

@media (max-width:900px) {

    .hero,
    .iec-hero,
    section[class^="hero-"],
    section[class*="-hero"],
    header[class^="hero-"],
    header[class*="-hero"] {
        margin-left: calc(var(--container-padding-tablet) * -1);
        margin-right: calc(var(--container-padding-tablet) * -1);
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
        width: calc(100% + (var(--container-padding-tablet) * 2));
    }
}

@media (max-width:640px) {

    .hero,
    .iec-hero,
    section[class^="hero-"],
    section[class*="-hero"],
    header[class^="hero-"],
    header[class*="-hero"] {
        margin-left: calc(var(--container-padding-mobile) * -1);
        margin-right: calc(var(--container-padding-mobile) * -1);
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
        width: calc(100% + (var(--container-padding-mobile) * 2));
    }
}

/* Add inner vertical padding and slight extra horizontal inner padding so
   hero background is full-bleed but content has comfortable spacing */
.hero .hero-grid,
.iec-hero .hero-grid,
section[class^="hero-"] .hero-grid,
section[class*="-hero"] .hero-grid,
header[class^="hero-"] .hero-grid,
header[class*="-hero"] .hero-grid {
    padding: 22px 0;
    box-sizing: border-box;
}

/* Optional: increase left/right breathing on large screens inside hero */
@media (min-width:1200px) {

    .hero .hero-grid,
    .iec-hero .hero-grid,
    section[class^="hero-"] .hero-grid,
    section[class*="-hero"] .hero-grid,
    header[class^="hero-"] .hero-grid,
    header[class*="-hero"] .hero-grid {
        padding-left: calc(var(--container-padding) * 0.6);
        padding-right: calc(var(--container-padding) * 0.6);
    }
}

/* Ensure all hero text is white for contrast on the blue background */
.hero,
.hero h1,
.hero h2,
.hero p,
.hero .hero-badge,
.hero .hero-sub,
.hero .hero-highlight span,
.hero .hero-trust li,
.hero .hero-micro,
.hero .btn-ghost.call,
.hero .hero-cta a {
    color: #fff !important;
}

.hero a {
    color: #fff !important;
}

.hero-illustration {
    width: 100%;
    height: 260px;
    display: block
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    padding: .65rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer
}

.hero-card {
    background: var(--card);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06)
}

.about-section {
    padding: var(--section-vertical) 0;
    background: transparent
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center
}

.about-content h3 {
    margin: 0 0 .4rem;
    color: var(--primary-dark);
    font-size: 1.45rem
}

.about-sub {
    margin: 0 0 .8rem;
    color: var(--muted);
    font-weight: 700
}

.about-desc {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.5
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem
}

.about-highlights li {
    display: flex;
    gap: .6rem;
    align-items: center;
    color: var(--primary-dark);
    font-weight: 600
}

.about-highlights li i {
    color: var(--primary);
    background: rgba(0, 151, 214, 0.08);
    border-radius: 8px;
    padding: .4rem;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.about-cta {
    display: flex;
    gap: .75rem
}

.about-cta .btn {
    padding: .55rem .9rem;
    border-radius: 8px
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center
}

.about-visual svg {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06)
}

@media (max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start
    }
}

.services {
    padding: var(--section-vertical) 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.card {
    background: var(--card);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.04)
}

.card h4 {
    margin-top: 0;
    color: var(--primary-dark)
}

.contact {
    padding: var(--section-vertical) 0
}

/* Responsive adjustments for container and section spacing */
@media (max-width:900px) {
    :root {
        --container-padding: var(--container-padding-tablet);
        --section-vertical: 48px
    }
}

@media (max-width:640px) {
    :root {
        --container-padding: var(--container-padding-mobile);
        --section-vertical: 32px
    }
}

/* ==========================
   Services Section (modern)
   ========================== */
.services-hero {
    position: relative;
    overflow: hidden
}

.services-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(6, 24, 44, 0.66), rgba(6, 24, 44, 0.66)), url('../assets/images/meeting-room-office.jpg'), url('../assets/images/services-bg.svg');
    background-size: cover;
    background-position: center center;
    filter: contrast(1.02) saturate(1.02);
    opacity: 1;
    z-index: 0
}

.services-inner {
    position: relative;
    z-index: 2;
    padding: var(--section-vertical) 0
}

.services-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff
}

.services-sub {
    margin: 0.45rem 0 1.25rem;
    color: rgba(255, 255, 255, 0.85)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 8px 30px rgba(7, 22, 48, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-height: 160px
}

.service-card h4 {
    margin: 0;
    font-size: 1.05rem
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(43, 51, 179, 0.06), rgba(0, 151, 214, 0.04));
    color: var(--primary-dark);
    font-size: 20px
}

.service-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    transition: transform .22s ease, stroke .22s ease, fill .22s ease
}

.service-link {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(7, 22, 48, 0.14)
}

.service-card:hover .service-icon {
    background: linear-gradient(180deg, var(--accent-orange), #f4773a);
    color: #fff
}

.service-card:hover .service-icon svg {
    transform: scale(1.06);
    stroke: currentColor;
    fill: currentColor
}

.service-card:hover h4 {
    color: var(--primary)
}

/* Make sure text is readable over overlay on smaller screens */
.services-hero .service-card {
    background: #ffffff
}

@media (max-width:900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .services-header h2 {
        font-size: 1.6rem
    }
}

@media (max-width:640px) {
    .services-grid {
        grid-template-columns: 1fr
    }

    .services-inner {
        padding: var(--section-vertical) 0
    }

    .service-card {
        padding: 1rem;
        border-radius: 12px
    }

    .service-icon {
        width: 48px;
        height: 48px
    }
}

/* Fallback if image not present: subtle abstract gradient */
.services-bg[style=""] {
    background-image: linear-gradient(180deg, #e9f3ff, #f7fbff)
}

/* ==========================
   How It Works Section
   ========================== */
.howitworks {
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.how-inner {
    padding: 48px 0
}

.how-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-dark)
}

.how-sub {
    margin: 0.35rem 0 1rem;
    color: var(--muted)
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
    align-items: start
}

.how-grid::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    height: 2px;
    background: linear-gradient(90deg, rgba(43, 51, 179, 0.06), rgba(0, 151, 214, 0.06));
    z-index: 1
}

.how-step {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(7, 22, 48, 0.04);
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    min-height: 160px
}

.how-step h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 700
}

.how-step p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem
}

.step-number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: 0.4px;
    position: relative;
    top: -36px;
    box-shadow: 0 8px 22px rgba(7, 22, 48, 0.08);
    z-index: 3
}

.step-icon {
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center
}

.how-step svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    transition: transform .22s ease, stroke .22s ease
}

.how-step:hover svg {
    transform: translateY(-4px)
}

.how-cta .btn-primary {
    padding: .7rem 1.25rem;
    border-radius: 10px
}

@media (max-width:1000px) {
    .how-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .how-grid::before {
        display: none
    }

    .step-number {
        top: -28px
    }
}

@media (max-width:640px) {
    .how-grid {
        grid-template-columns: 1fr
    }

    .how-inner {
        padding: 28px 0
    }

    .step-number {
        top: 0;
        margin-top: -34px
    }

    .how-step {
        padding-top: 40px
    }
}

/* ==========================
   Why Choose Comply-Care
   ========================== */
.why-choose {
    background: linear-gradient(180deg, #ffffff, #fbfdff)
}

.why-inner {
    padding: 48px 0
}

.why-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-dark)
}

.why-sub {
    margin: 0.35rem 0 1rem;
    color: var(--muted)
}

.why-split {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 1.25rem;
    align-items: center
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: stretch
}

.why-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(7, 22, 48, 0.04);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: transform .22s ease, box-shadow .22s ease
}

.why-card h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 700
}

.why-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(43, 51, 179, 0.06), rgba(0, 151, 214, 0.04));
    color: var(--primary-dark);
    font-size: 20px
}

.why-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(7, 22, 48, 0.12)
}

.why-card.featured {
    border: 1px solid rgba(255, 147, 89, 0.14);
    background: linear-gradient(180deg, rgba(247, 119, 58, 0.04), #fff)
}

.why-card.featured .why-icon {
    background: linear-gradient(180deg, var(--accent-orange), #f4773a);
    color: #fff
}

.why-cta .btn {
    padding: .65rem 1rem;
    border-radius: 10px
}

@media (max-width:1000px) {
    .why-split {
        grid-template-columns: 1fr
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .why-grid {
        grid-template-columns: 1fr
    }

    .why-inner {
        padding: 28px 0
    }
}

/* Right image column */
.why-right {
    background-image: url('../assets/images/why-illustration.svg');
    background-size: cover;
    background-position: center center;
    border-radius: 12px;
    min-height: 320px;
    box-shadow: 0 10px 30px rgba(7, 22, 48, 0.06)
}

@media (max-width:1000px) {
    .why-right {
        min-height: 260px
    }
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.contact-form label {
    display: block
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .6rem;
    border-radius: 8px;
    border: 1px solid #e4e7eb
}

.contact-form span {
    display: block;
    margin-bottom: .35rem;
    font-size: .85rem;
    color: var(--muted)
}

.contact-form button {
    grid-column: 1 / -1;
    width: fit-content
}

.site-footer {
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 2rem
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* Footer specific styles: 4-column layout with responsive collapse */
.footer-top {
    padding: 2.25rem 0;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border-top: 1px solid rgba(16, 24, 40, 0.02)
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start
}

.footer-col {
    min-width: 0
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none
}

.footer-logo {
    width: 72px;
    height: auto;
    border-radius: 8px;
    object-fit: contain
}

.footer-desc {
    margin: .5rem 0 1rem;
    color: var(--muted);
    line-height: 1.45
}

.trust-badges {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.trust-badges .badge {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem
}

.footer-col h4 {
    margin: 0 0 .6rem;
    color: var(--primary-dark);
    font-size: 1.05rem
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-col ul li {
    margin: 0 0 .55rem
}

.footer-col a {
    color: var(--muted);
    text-decoration: none
}

.footer-col a:hover {
    color: var(--primary);
    text-decoration: underline
}

.contact-block {
    font-style: normal;
    color: var(--muted)
}

.contact-row {
    display: flex;
    gap: .6rem;
    margin-bottom: .6rem;
    align-items: flex-start
}

.contact-row i {
    color: var(--primary);
    min-width: 30px
}

.footer-cta {
    display: flex;
    gap: .6rem;
    margin-top: 1rem
}

.footer-cta .btn {
    padding: .5rem .85rem;
    border-radius: 8px;
    font-weight: 800
}

.footer-cta .btn-ghost {
    background: transparent;
    border: 1px solid rgba(16, 24, 40, 0.06);
    color: var(--primary-dark)
}

.footer-bottom {
    border-top: 1px solid rgba(16, 24, 40, 0.04);
    padding: .8rem 0;
    margin-top: 1rem;
    background: transparent
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.footer-bottom .social {
    display: flex;
    align-items: center;
    gap: .6rem
}

.footer-bottom .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid rgba(16, 24, 40, 0.04)
}

.footer-bottom .social-link:hover {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff
}

.copyright {
    color: var(--muted);
    font-weight: 600
}

@media (max-width:1000px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .menu-toggle {
        display: flex
    }

    .main-nav {
        display: none
    }

    .main-nav.show {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start
    }
}

.footer-nav a {
    margin-left: .75rem;
    color: var(--muted);
    text-decoration: none
}

/* Footer redesign styles */
.footer-top {
    padding: 2.25rem 0 1.25rem;
    border-top: 1px solid rgba(16, 24, 40, 0.03);
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: .75rem;
    color: var(--primary-dark)
}

.footer-logo {
    width: 64px;
    height: 64px;
    display: block;
    border-radius: 50%;
    object-fit: contain
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    padding: 10px;
    margin-bottom: .6rem
}

.footer-desc {
    color: #fff;
    line-height: 1.45;
    margin: 0 0 1rem
}

.trust-badges {
    display: flex;
    gap: .5rem;
    margin-top: .5rem
}

.badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .8rem
}

.footer-services ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-services li,
.footer-links li {
    margin: 0 0 .5rem
}

.footer-services a,
.footer-links a {
    color: #fff;
    text-decoration: none
}

.footer-services a:hover,
.footer-links a:hover {
    color: #fff;
    opacity: 0.9
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    color: #fff
}

.contact-row {
    display: flex;
    gap: .8rem;
    align-items: flex-start
}

.contact-row i {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: white;
    padding: .6rem;
    border-radius: 8px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.contact-row strong {
    display: block;
    color: #fff
}

.contact-row div {
    color: #fff
}

.footer-cta {
    display: flex;
    gap: .6rem;
    margin-top: 1rem
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: .5rem .75rem;
    border-radius: 8px
}

.btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: .55rem .9rem;
    border-radius: 8px;
    text-decoration: none
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: .9rem 0;
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff
}

.social {
    display: flex;
    gap: .6rem;
    align-items: center
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08)
}

.social-link i {
    font-size: 16px
}

.copyright {
    color: rgba(255, 255, 255, 0.92)
}

/* Ensure all footer text defaults to white for contrast */
.site-footer,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer address,
.site-footer strong {
    color: #fff;
}

/* Responsive footer */
@media (max-width:1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Force all site buttons to use a single solid primary blue
   Overrides per-page button colors so every button is the same blue. */
.btn,
.btn-primary,
.btn-hero,
.btn-hero.primary,
.btn-outline {
    background: var(--primary) !important;
    color: #fff !important;
    border: 1px solid var(--primary) !important;
    box-shadow: 0 10px 30px rgba(0, 151, 214, 0.12) !important;
}

/* Ghost/outline buttons use transparent background with blue border */
.btn-ghost,
.btn-ghost.call,
.btn-hero.ghost {
    background: transparent !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
}

.btn-outline {
    background: transparent !important;
    color: var(--primary) !important
}

.btn,
.btn-primary,
.btn-hero,
.btn-ghost,
.btn-outline {
    border-radius: 8px;
    padding: .55rem .9rem;
}

.btn:focus,
.btn-primary:focus,
.btn-hero:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 151, 214, 0.12) !important;
}

/* Icons: use white on primary-blue background across the site */
/* Targets FontAwesome and common icon elements; use !important to override page rules */
.fa,
.fas,
.far,
.fab,
.fal,
i[class^="fa-"],
i[class*=" fa-"] {
    color: #fff !important;
    background: var(--primary) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
}

/* Inline SVG icons: adopt currentColor and set color to primary */
svg[role="img"],
svg.icon,
.icon svg {
    color: var(--primary) !important;
    fill: currentColor !important;
}

/* Exceptions: keep hero, topbar and footer icons white for contrast where needed */
.hero .fa,
.hero i,
.hero-visual svg,
.topbar .fa,
.topbar i,
.site-footer .fa,
.site-footer i {
    color: #fff !important;
    fill: #fff !important;
}

/* ==========================
   Testimonials
   ========================== */
.testimonials {
    padding: 56px 0;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(251, 253, 255, 0.86)), url('../assets/images/testimonials-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat
}

.testimonials::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.36));
    border-radius: 0
}

.testimonials {
    position: relative
}

/* ==========================
   Blog Section
   ========================== */
.blog-section {
    padding: 56px 0;
    background: transparent
}

.blog-section .section-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-dark)
}

.blog-section .section-sub {
    margin: 0.35rem 0 1.25rem;
    color: var(--muted)
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem
}

.blog-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 22, 48, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease
}

.blog-media {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f4f6f8
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.blog-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1
}

.blog-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: .2rem
}

.blog-title {
    margin: 0;
    font-size: 1.05rem
}

.blog-title a {
    color: var(--primary-dark);
    text-decoration: none
}

.blog-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45
}

.read-more {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(7, 22, 48, 0.12)
}

/* Featured blog layout: larger left card + compact side cards */
.blog-grid {
    grid-template-columns: 1.9fr 1fr;
    align-items: start
}

.blog-card.featured {
    grid-column: 1 / span 1;
    min-height: 340px
}

.blog-card.compact .blog-media {
    height: 120px
}

.blog-card.featured .blog-media {
    height: 260px
}

@media (max-width:1000px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .blog-card.featured {
        grid-column: 1 / -1
    }
}

@media (max-width:1000px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .blog-grid {
        grid-template-columns: 1fr
    }

    .blog-section {
        padding: 32px 0
    }
}

/* ==========================
   Enquiry Section (Redesigned)
   ========================== */
.enquiry-section {
    padding: 56px 0;
    background: linear-gradient(180deg, #ffffff, #fbfdff)
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 2rem;
    align-items: start
}

.enquiry-left {
    padding: 1rem 0
}

.enquiry-left h2 {
    margin: 0 0 .35rem;
    color: var(--primary-dark);
    font-size: 1.6rem
}

.enquiry-sub {
    margin: 0 0 .8rem;
    color: var(--muted)
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem
}

.trust-list li {
    background: transparent;
    color: var(--primary-dark);
    font-weight: 700;
    padding: .35rem 0
}

.enquiry-note {
    color: var(--muted);
    margin-top: .6rem;
    line-height: 1.5
}

.enquiry-right {
    display: flex;
    align-items: flex-start
}

.enquiry-card {
    width: 100%;
    background: var(--card);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06)
}

.enquiry-form label {
    display: block;
    margin-bottom: .6rem
}

.enquiry-form label span {
    display: block;
    margin-bottom: .35rem;
    font-size: .95rem;
    color: var(--muted)
}

.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
    width: 100%;
    padding: .72rem;
    border-radius: 10px;
    border: 1px solid #e6e9ed;
    font-size: 0.98rem;
    background: #fff
}

.enquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: .6rem
}

.enquiry-form .error-message {
    display: block;
    color: #b52828;
    font-size: .9rem;
    height: 18px;
    margin-top: .28rem
}

.form-messages {
    margin-bottom: .6rem;
    padding: .6rem 0;
    font-weight: 700
}

.form-messages.success {
    color: #0a7a3e
}

.form-messages.error {
    color: #b52828
}

/* Focus states */
.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus {
    outline: none;
    box-shadow: 0 6px 24px rgba(0, 151, 214, 0.10);
    border-color: var(--primary)
}

.enquiry-actions {
    margin-top: .6rem
}

.enquiry-actions .btn {
    width: 100%;
    padding: .78rem;
    border-radius: 10px;
    font-weight: 800
}

.enquiry-actions .btn:hover,
.enquiry-actions .btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(16, 24, 40, 0.12)
}

/* Optional sticky submit on mobile */
@media (max-width:640px) {
    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .enquiry-card {
        padding: 20px
    }

    .enquiry-form .form-row {
        grid-template-columns: 1fr
    }

    .enquiry-actions {
        position: sticky;
        bottom: 14px;
        padding-top: 8px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6))
    }
}

@media (max-width:1000px) {
    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem
    }
}

.testimonials .section-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-dark)
}

.testimonials .section-sub {
    margin: 0.35rem 0 1.25rem;
    color: var(--muted)
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem
}

.testimonial-card {
    background: var(--card);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 10px 34px rgba(7, 22, 48, 0.06);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-height: 220px
}

.testimonial-meta {
    display: flex;
    gap: .85rem;
    align-items: center
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.avatar::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
}

.meta-text strong {
    display: block;
    color: var(--primary-dark);
    font-weight: 800
}

.meta-role {
    display: block;
    color: var(--muted);
    font-size: .92rem
}

.testimonial-quote {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    padding-top: .25rem
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--accent-orange);
    font-weight: 800
}

.rating {
    letter-spacing: 0.06em
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(7, 22, 48, 0.12);
    transition: transform .22s ease, box-shadow .22s ease
}

/* Featured testimonial layout: big left card + stacked compact cards */
.testimonials .testimonial-grid {
    grid-template-columns: 1.8fr 1fr;
    align-items: start
}

.testimonials .testimonial-column {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.testimonials .testimonial-card.featured {
    grid-column: 1 / span 1;
    min-height: 320px;
    padding: 1.5rem
}

.testimonials .testimonial-card.compact {
    min-height: 120px;
    padding: 0.9rem
}

.testimonial-quote.large {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted)
}

.testimonial-date {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 4px
}

@media (max-width:900px) {
    .testimonials .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonials .testimonial-column {
        flex-direction: column
    }

    .testimonials .testimonial-card.featured {
        min-height: 220px
    }
}

/* Fallback initials inside avatar when image missing */
.avatar img[style*="display:none"]+.initials,
.avatar .initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800
}

.avatar .initials {
    font-size: 18px
}

@media (max-width:1000px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .testimonial-grid {
        grid-template-columns: 1fr
    }

    .testimonials {
        padding: 32px 0
    }
}

@media (max-width:640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: .6rem;
        align-items: flex-start
    }

    .footer-bottom-inner .social {
        order: 2
    }
}

/* Responsive */
@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr
    }

    .contact-form {
        grid-template-columns: 1fr
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem
    }

    .main-nav {
        margin-top: .5rem
    }

    .menu-toggle {
        display: inline-flex
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: .5rem var(--page-gutter)
    }

    .main-nav.show {
        display: flex
    }

    .main-nav a {
        padding: .6rem 0;
        border-top: 1px solid rgba(16, 24, 40, 0.03);
        margin-left: 0
    }

    .header-inner {
        flex-direction: row;
        align-items: center
    }

    .brand {
        gap: .5rem
    }

    .legal-menu {
        width: 100%
    }

    .legal-menu .dropdown {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.98);
        margin-top: .25rem
    }

    .legal-menu.open .dropdown {
        display: block
    }
}

@media (max-width:700px) {
    .hero-title {
        font-size: 1.5rem
    }

    .hero-illustration {
        height: 220px
    }

    .hero-visual {
        padding: .9rem
    }

    .hero-grid {
        gap: 1rem
    }

    .hero-trust {
        gap: .6rem
    }
}

@media (max-width:520px) {
    .cards {
        grid-template-columns: 1fr
    }

    .brand-text h1 {
        font-size: 1rem
    }

    .logo {
        width: 52px;
        height: 52px
    }
}