/* ==========================================================
   TWO AMS TRANSIT PLC
   PREMIUM ENTERPRISE DESIGN REFINEMENT
   Add at the END of the existing stylesheet
========================================================== */

/* ---------- REFINED DESIGN SYSTEM ---------- */

:root {
    --brand-primary: #0F4C81;
    --brand-primary-dark: #08345A;
    --brand-hero-start: #0d3b6e;
    --brand-hero-mid: #1565c0;
    --brand-hero-end: #0d47a1;
    --brand-accent: #D4A017;
    --brand-accent-light: #F1C75B;
    --brand-accent-ink: #805900;
    --brand-accent-rgb: 212, 160, 23;
    --brand-text: #1F2937;
    --brand-muted: #6B7280;
    --brand-surface: #fff;
    --brand-surface-muted: #F8FAFC;
    --brand-wave-surface: #f8f9fa;
    --brand-border: #eef2f7;
    --brand-footer: #0B1F3A;
    --brand-danger: #dc3545;
    --brand-primary-rgb: 15, 76, 129;
    --brand-primary-dark-rgb: 8, 52, 90;
    --brand-white-rgb: 255, 255, 255;
    --brand-black-rgb: 0, 0, 0;

    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: 15, 76, 129;
    --bs-warning: var(--brand-accent);
    --bs-warning-rgb: 212, 160, 23;
    --bs-link-color: var(--brand-primary);
    --bs-link-color-rgb: 15, 76, 129;

    --shadow-sm: 0 4px 12px rgba(var(--brand-black-rgb), .08);
    --shadow-md: 0 12px 30px rgba(var(--brand-black-rgb), .12);
    --shadow-xl: 0 20px 50px rgba(var(--brand-black-rgb), .18);

    --space-xl: 1.5rem;

    --radius: 1rem;

    --transition: all .3s ease;
}


/* ---------- BODY ---------- */

body {
    background: var(--brand-surface);
    color: var(--brand-text);
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}


/* ---------- TYPOGRAPHY ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-text);
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: var(--brand-surface);
}

.text-warning {
    color: var(--brand-accent-ink) !important;
}

.text-white .text-warning,
#mainNavbar .text-warning,
footer .text-warning {
    color: var(--brand-accent-light) !important;
}

.hero-section .bg-warning.text-warning {
    color: var(--brand-surface) !important;
    background-color: rgba(var(--brand-accent-rgb), .2) !important;
    border: 1px solid rgba(var(--brand-accent-rgb), .55);
}

.display-4,
.display-5,
.display-6 {
    font-weight: 800;
    letter-spacing: -0.03em;
}


/* ---------- SECTION TITLES ---------- */

section h2 {
    position: relative;
    margin-bottom: 1.5rem;
}

section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin-top: .75rem;
    background: var(--brand-accent);
    border-radius: 999px;
}

.text-center h2::after {
    margin-inline: auto;
}


/* ---------- NAVBAR ---------- */
/* ---------- PREMIUM DARK BLUE NAVBAR ---------- */
#mainNavbar {
    background: linear-gradient(135deg,
            #081528 0%,
            #0B1F3A 45%,
            #0F4C81 100%) !important;

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* ---------- PREMIUM NAVIGATION LINKS ---------- */
#mainNavbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.7rem 0.9rem;
    transition: color 0.25s ease;
}

/* Elegant gold underline */
#mainNavbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.3rem;
    height: 2px;
    background: #F1C75B;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: #F1C75B;
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
    transform: scaleX(1);
}



#mainNavbar .dropdown-menu {
    border: none;
    box-shadow: 0 20px 40px rgba(var(--brand-black-rgb), .15);
    padding: 0.5rem;
}

/* Services dropdown items: dark text by default; solid brand-blue + white text/icon on hover
   (fixes invisible text over the faint hover background) */
#mainNavbar .navbar-nav .dropdown-item {
    color: var(--brand-text);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background .2s ease, color .2s ease;
}

#mainNavbar .navbar-nav .dropdown-item:hover,
#mainNavbar .navbar-nav .dropdown-item:focus,
#mainNavbar .navbar-nav .dropdown-item.active {
    background: var(--brand-primary);
    color: #fff;
}

#mainNavbar .navbar-nav .dropdown-item:hover i,
#mainNavbar .navbar-nav .dropdown-item:focus i {
    color: #fff !important;
}

/* Desktop (navbar expands at lg / 992px): open the Services dropdown on hover instead of click */
@media (min-width: 992px) {
    #mainNavbar .navbar-nav .nav-item.dropdown>.dropdown-menu {
        display: none;
        margin-top: 0;
    }

    #mainNavbar .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        animation: navDropdownIn 0.18s ease;
    }
}

@keyframes navDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- HERO SECTION ---------- */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    background: linear-gradient(135deg,
            var(--brand-hero-start) 0%,
            var(--brand-hero-mid) 50%,
            var(--brand-hero-end) 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg,
            rgba(var(--brand-primary-dark-rgb), .48) 0%,
            rgba(var(--brand-primary-dark-rgb), .3) 52%,
            rgba(var(--brand-primary-dark-rgb), .12) 100%);

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 85vh;
    align-items: center;
}

.hero-content-row {
    width: 100%;
}

.hero-copy {
    position: relative;
    z-index: 0;
    isolation: isolate;
    max-width: 640px;
    padding: .75rem 1rem .2rem .25rem;
}

.hero-copy::before {
    position: absolute;
    z-index: -1;
    top: -1rem;
    right: -1rem;
    bottom: -1rem;
    left: -1rem;
    border: 1px solid rgba(var(--brand-white-rgb), .06);
    border-radius: 1.25rem;
    background: linear-gradient(90deg,
            rgba(var(--brand-primary-dark-rgb), .18) 0%,
            rgba(var(--brand-primary-dark-rgb), .12) 70%,
            rgba(var(--brand-primary-dark-rgb), 0) 100%);
    box-shadow: inset 0 1px 0 rgba(var(--brand-white-rgb), .06);
    -webkit-backdrop-filter: blur(2.5px);
    backdrop-filter: blur(2.5px);
    content: "";
    pointer-events: none;
}

.hero-copy>* {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    max-width: 610px;
    line-height: 1.08;
}

.hero-section .btn {
    margin-top: .5rem;
}

.hero-subtitle {
    max-width: 540px;
    opacity: .85;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .3rem .55rem;
    border: 1px solid rgba(var(--brand-white-rgb), .08);
    border-radius: 999px;
    background: rgba(var(--brand-white-rgb), .02);
    opacity: .82;
}

.hero-slider {
    position: absolute;
    z-index: 0;
    inset: 0;
    isolation: isolate;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--brand-primary-dark);
}

.hero-slider::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--brand-primary-dark-rgb), .12), transparent 55%);
    content: "";
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease, transform 3s ease;
    object-fit: cover;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-indicators {
    position: absolute;
    z-index: 5;
    right: max(1.5rem, calc((100vw - 1140px) / 2));
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hero-slide-indicator {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hero-slide-indicator::before {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(var(--brand-white-rgb), .9);
    border-radius: 999px;
    background: rgba(var(--brand-white-rgb), .4);
    content: "";
    transition: width .25s ease, background-color .25s ease;
}

.hero-slide-indicator.is-active::before {
    width: 24px;
    background: var(--brand-accent-light);
}

.hero-slide-indicator:focus-visible {
    outline-color: var(--brand-accent-light);
}

.credibility-strip {
    position: relative;
    z-index: 5;
    border-top: 2px solid rgba(var(--brand-white-rgb), .18);
    border-bottom: 1px solid rgba(var(--brand-white-rgb), .12);
    background: linear-gradient(110deg, var(--brand-primary-dark), var(--brand-primary));
    box-shadow: 0 8px 24px rgba(var(--brand-primary-dark-rgb), .18);
}

.credibility-stat {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    gap: 1.125rem;
    padding: 1.375rem 1rem;
}

.credibility-stat-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(var(--brand-white-rgb), .28);
    background: rgba(var(--brand-white-rgb), .1);
    color: var(--brand-accent-light);
    font-size: 1.15rem;
}

.credibility-stat-copy {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    line-height: 1.35;
}

.credibility-stat-copy strong {
    color: var(--brand-surface);
    font-size: 1.65rem;
    font-weight: 700;
}

.credibility-stat-copy>span {
    color: rgba(var(--brand-white-rgb), .78);
    font-size: .875rem;
}

.trust-feature {
    display: flex;
    height: 100%;
    align-items: flex-start;
    gap: .875rem;
    padding: 1.25rem;
    border: 1px solid var(--brand-border);
    border-radius: .75rem;
    background: var(--brand-surface-muted);
}

.trust-feature>span:last-child {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.trust-feature strong {
    color: var(--brand-text);
}

.section-padding {
    padding: 6rem 0;
}

.section-padding-sm {
    padding-block: 3rem;
}

.section-padding-lg {
    padding-block: 5rem;
}

.section-stack {
    margin-bottom: 4rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.hero-wave-fill {
    fill: var(--brand-primary-dark);
}

.cta-section {
    background: linear-gradient(135deg, var(--brand-hero-mid), var(--brand-hero-end));
}

.home-trust-section,
.contact-page-content,
.about-page-content {
    overflow-x: clip;
}

.content-card-image,
.content-card-image-placeholder,
.contact-map-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.content-card-image {
    display: block;
    object-fit: cover;
}

.detail-featured-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.detail-featured-image--blog {
    max-height: 450px;
}

.detail-featured-image--directive {
    max-height: 400px;
}

.empty-state-icon {
    font-size: 4rem;
}

.empty-state-icon--small {
    font-size: 3rem;
}

.empty-state-icon--faint {
    opacity: .3;
}

.feature-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: .75rem;
    background-color: rgba(var(--brand-primary-rgb), .08);
    color: var(--brand-primary);
}

.feature-icon-box--large {
    width: 52px;
    height: 52px;
}

.feature-icon {
    color: var(--brand-primary);
    font-size: 1.125rem;
}

.service-icon-shell,
.contact-icon-shell {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: .75rem;
    background: rgba(var(--brand-primary-rgb), .08);
    color: var(--brand-primary);
}

.service-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.service-icon-shell--inverse {
    background: rgba(var(--brand-white-rgb), .18);
    color: var(--brand-surface);
}

.contact-icon-shell {
    width: 48px;
    height: 48px;
}

.contact-icon {
    color: inherit;
    font-size: 1.25rem;
}

.comment-avatar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.comment-avatar--comment {
    width: 42px;
    height: 42px;
}

.comment-avatar--current-user {
    width: 36px;
    height: 36px;
}

.comment-avatar--home {
    width: 44px;
    height: 44px;
}

.required-action-card {
    border-left: 4px solid var(--brand-danger) !important;
}

.process-step-number {
    width: 36px;
    height: 36px;
    font-size: .9rem;
}

.navbar-brand-name {
    font-size: 1rem;
}

.navbar-brand-tagline {
    font-size: .65rem;
    letter-spacing: .05em;
}

.brand-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: .25rem;
    background-color: transparent;
}

.navbar-brand-logo-frame {
    padding: 2px 5px;
}

.navbar-brand-logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: min(46vw, 160px);
    object-fit: contain;
    object-position: center;
}

.footer-brand-logo-frame {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 6px;
    border-radius: .25rem;
    background-color: transparent;
}

.footer-brand-logo {
    display: block;
    width: min(230px, 100%);
    height: auto;
    object-fit: contain;
}

.navbar-search-input {
    min-width: 160px;
}

.footer-column-heading {
    letter-spacing: .05em;
}

.search-query-input {
    max-width: 600px;
}

:focus-visible {
    outline: 3px solid var(--brand-accent-ink);
    outline-offset: 3px;
}

#mainNavbar :focus-visible,
footer :focus-visible,
.bg-primary.text-white :focus-visible {
    outline-color: var(--brand-accent-light);
}

#mainNavbar .dropdown-item:focus-visible,
.pagination .page-link:focus-visible {
    position: relative;
    z-index: 1;
}

.hide-on-image-error.is-hidden {
    display: none !important;
}

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 6rem;
    /* sits above the WhatsApp float to avoid overlap */
    z-index: 1000;
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.back-to-top.is-visible {
    display: flex;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 1.5rem;
        /* center-aligns with the 54px mobile WhatsApp circle */
        bottom: 5.5rem;
        /* clears the mobile WhatsApp (top edge ~72px) */
    }
}


/* ---------- CARDS ---------- */

.card {
    border: none !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm);
}

.card > img:first-child,
.card-img-top {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.card-img-bottom {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.card,
.hover-lift {
    transition: var(--transition);
}

.card-body {
    padding: 2rem;
}


/* ---------- SERVICE CARDS ---------- */

.service-card,
.feature-card,
.info-card {
    border-top: 4px solid var(--brand-accent);
}


/* ---------- HOVER EFFECTS ---------- */

.hover-bg:hover {
    background: rgba(var(--brand-primary-rgb), .05) !important;
}


/* ---------- BUTTONS ---------- */

.btn {
    font-weight: 600;
    border-radius: .75rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--brand-primary),
            var(--brand-primary-dark));

    border: none;

    box-shadow:
        0 8px 20px rgba(var(--brand-primary-rgb), .25);
}

.btn-primary:hover {
    background: linear-gradient(135deg,
            var(--brand-primary-dark),
            var(--brand-primary));

    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg,
            var(--brand-accent),
            var(--brand-accent-light));

    border: none;
    color: var(--brand-text);
}

.btn-warning:hover {
    background: linear-gradient(135deg,
            var(--brand-accent-light),
            var(--brand-accent));

    color: var(--brand-text);
    transform: translateY(-2px);
}


/* ---------- FORMS ---------- */

.form-control,
.form-select {
    border-radius: .75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);

    box-shadow:
        0 0 0 .2rem rgba(var(--brand-primary-rgb), .12);
}

.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}


/* ---------- STATISTICS ---------- */

.stat-card,
.statistics-card,
.counter-card {
    background: var(--brand-surface);
    border-top: 4px solid var(--brand-accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}


/* ---------- BADGES ---------- */

.badge {
    border-radius: .5rem;
    font-weight: 600;
}

.bg-opacity-20 {
    --bs-bg-opacity: .2;
}

.bg-primary.text-white .badge.bg-white.bg-opacity-20 {
    border: 1px solid rgba(var(--brand-white-rgb), .3);
    color: var(--brand-surface);
}


/* ---------- PROSE CONTENT ---------- */

.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4,
.prose-content h5,
.prose-content h6 {
    color: var(--brand-text);
}

.prose-content blockquote {
    border-left: 4px solid var(--brand-accent);

    background:
        rgba(var(--brand-primary-rgb), .05);
}


/* ---------- TABLES ---------- */

.prose-content th {
    background: linear-gradient(135deg,
            var(--brand-primary-dark),
            var(--brand-primary));

    color: var(--brand-surface);
}


/* ---------- PAGINATION ---------- */

.pagination .page-link {
    border-radius: .5rem !important;
}

.pagination .page-item.active .page-link {
    background: var(--brand-primary);
}

.pagination .page-link:focus-visible {
    z-index: 1;
}


/* ---------- ALERTS ---------- */

.alert {
    border: none;
    box-shadow: var(--shadow-sm);
}


/* ---------- FOOTER ---------- */

footer {
    background: var(--brand-footer);
    color: rgba(var(--brand-white-rgb), .9);
}

footer .text-muted {
    color: rgba(var(--brand-white-rgb), .75) !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5 {
    color: var(--brand-accent-light);
}

footer a {
    color: rgba(var(--brand-white-rgb), .85);
    transition: var(--transition);
}

footer a:hover {
    color: var(--brand-accent-light) !important;
}

footer .footer-contact {
    text-align: center;
}

footer .footer-contact address p {
    justify-content: center;
}


/* ---------- SCROLLBAR ---------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-border);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 50px;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {

    .hero-section::before {
        background: linear-gradient(180deg,
                rgba(var(--brand-primary-dark-rgb), .5) 0%,
                rgba(var(--brand-primary-dark-rgb), .36) 58%,
                rgba(var(--brand-primary-dark-rgb), .25) 100%);
    }

    .section-padding {
        padding-block: 3rem;
    }

    .section-padding-lg {
        padding-block: 4rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 0;
    }

    .hero-slide {
        transition: opacity 1.2s ease;
        transform: none;
    }

    .hero-slide.is-active {
        transform: none;
    }

    .hero-content {
        min-height: 0;
        padding-inline: 1.5rem;
    }

    .hero-content>.row {
        min-height: 0;
        margin-inline: 0;
        --bs-gutter-x: 0;
    }

    .hero-copy {
        width: 100%;
        min-width: 0;
        max-width: 40rem;
        padding: .2rem 0 0 0;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(1.75rem, 6vw, 2rem);
        text-wrap: balance;
    }

    .hero-copy::before {
        top: -0.5rem;
        right: -0.5rem;
        bottom: -0.5rem;
        left: -0.5rem;

        border-radius: .9rem;

        background: rgba(8, 52, 90, 0.12);

        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }

    .hero-slide-indicators {
        right: 1rem;
        bottom: .75rem;
    }

    .credibility-strip .col-6:nth-child(odd) .credibility-stat {
        border-right: 1px solid var(--brand-border);
    }

    .credibility-strip .col-6:nth-child(-n + 2) .credibility-stat {
        border-bottom: 1px solid var(--brand-border);
    }

    .card-body {
        padding: 1.5rem;
    }

    section h2::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand-logo {
        height: 36px;
    }

    .footer-brand-logo {
        width: min(210px, 100%);
    }
}

@media (min-width: 768px) {
    .credibility-strip .col-md-3:not(:last-child) .credibility-stat {
        border-right: 1px solid var(--brand-border);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
        transform: none;
    }
}

/* ================================
   WHATSAPP FLOATING BUTTON
================================ */

.whatsapp-float {
    position: fixed;
    right: var(--space-xl);
    bottom: var(--space-xl);
    z-index: 1030; /* below navbar-fixed(1030), modal(1055), toast(1090) */
}

.whatsapp-float a {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff;

    border-radius: 50%;
    text-decoration: none;

    box-shadow: var(--shadow-xl);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float a i {
    display: block;

    font-family: "bootstrap-icons" !important;
    font-weight: 400 !important;

    font-style: normal;
    font-size: 32px;
    line-height: 1;

    color: #fff;
    width: auto;
    height: auto;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float a {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float a i {
        font-size: 29px;
    }
}

/* ================================
   TOP UTILITY BAR
================================ */
.utility-bar {
    background: var(--brand-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-bar a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.utility-bar a:hover {
    color: var(--brand-accent-light);
}

/* ================================
   SOCIAL ICONS (utility bar + footer)
================================ */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link i {
    font-size: 1rem;
    line-height: 1;
}

.social-link:hover {
    background: var(--brand-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Slimmer icons inside the top utility bar */
.utility-bar .social-link {
    width: 28px;
    height: 28px;
}

.utility-bar .social-link i {
    font-size: 0.85rem;
}

/* ==========================================================
   TWO AMS TRANSIT PLC
   STYLED CARD COLORED SHADOWS (Theme-Matched)
   Using the soft corporate blue shadow from the preview
========================================================== */

.card,
.contact-form-card,
.get-in-touch-card,
.info-card,
.service-card {
    /* Multi-layered shadow with a soft corporate blue glow and deep navy depth */
    box-shadow: 0 12px 35px rgba(var(--brand-primary-rgb), 0.14),
        0 4px 15px rgba(var(--brand-primary-dark-rgb), 0.08) !important;
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(var(--brand-primary-rgb), 0.22),
        0 8px 25px rgba(var(--brand-primary-dark-rgb), 0.12) !important;
}

/* ---------- DARK THEME ---------- */

:root[data-bs-theme="dark"] {
    color-scheme: dark;

    --brand-surface: #061121;
    --brand-surface-muted: #0D1E36;
    --brand-input-surface: #132948;
    --brand-text: #F8FAFC;
    --brand-muted: #94A3B8;
    --brand-on-dark: #F8FAFC;
    --brand-border: rgba(255, 255, 255, .09);
    --brand-wave-surface: #061121;

    --bs-body-bg: var(--brand-surface);
    --bs-body-color: var(--brand-text);
    --bs-emphasis-color: var(--brand-text);
    --bs-secondary-color: var(--brand-muted);
    --bs-tertiary-color: rgba(148, 163, 184, .72);
    --bs-secondary-bg: var(--brand-surface-muted);
    --bs-tertiary-bg: var(--brand-input-surface);
    --bs-border-color: var(--brand-border);
    --bs-border-color-translucent: rgba(255, 255, 255, .12);
    --bs-link-color: var(--brand-accent-light);
    --bs-link-hover-color: #FFE39A;
}

:root[data-bs-theme="dark"] body {
    background-color: var(--brand-surface);
    color: var(--brand-text);
}

:root[data-bs-theme="dark"] .text-white h1,
:root[data-bs-theme="dark"] .text-white h2,
:root[data-bs-theme="dark"] .text-white h3,
:root[data-bs-theme="dark"] .text-white h4,
:root[data-bs-theme="dark"] .text-white h5,
:root[data-bs-theme="dark"] .text-white h6,
:root[data-bs-theme="dark"] .credibility-stat-copy strong,
:root[data-bs-theme="dark"] .service-icon-shell--inverse,
:root[data-bs-theme="dark"] .bg-primary.text-white .badge.bg-white.bg-opacity-20,
:root[data-bs-theme="dark"] .prose-content th {
    color: var(--brand-on-dark);
}

:root[data-bs-theme="dark"] .text-warning {
    color: var(--brand-accent-light) !important;
}

:root[data-bs-theme="dark"] .btn-warning,
:root[data-bs-theme="dark"] .btn-warning:hover {
    color: #1F2937;
}

:root[data-bs-theme="dark"] .hero-section .bg-warning.text-warning {
    color: var(--brand-on-dark) !important;
}

:root[data-bs-theme="dark"] .bg-white:not(.bg-opacity-20) {
    background-color: var(--brand-surface-muted) !important;
}

:root[data-bs-theme="dark"] .bg-light {
    background-color: var(--brand-input-surface) !important;
}

:root[data-bs-theme="dark"] .input-group-text.bg-white {
    background-color: var(--brand-input-surface) !important;
    border-color: var(--brand-border) !important;
}

:root[data-bs-theme="dark"] .text-dark {
    color: var(--brand-text) !important;
}

:root[data-bs-theme="dark"] .bg-warning.text-dark,
:root[data-bs-theme="dark"] .btn-warning.text-dark {
    color: #1F2937 !important;
}

:root[data-bs-theme="dark"] .bg-warning.bg-opacity-25.text-dark {
    color: var(--brand-accent-light) !important;
}

:root[data-bs-theme="dark"] .text-muted {
    color: var(--brand-muted) !important;
}

:root[data-bs-theme="dark"] .text-primary {
    color: #8FC5FF !important;
}

:is(:root[data-bs-theme="dark"], .dark-mode) :is(
    .card,
    .stat-card,
    .statistics-card,
    .counter-card,
    .trust-feature,
    .contact-form-card,
    .get-in-touch-card,
    .info-card,
    .service-card
) {
    border: 1px solid rgba(var(--brand-accent-rgb), .22) !important;
    background-color: #0D1E36;
    color: var(--brand-text);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .5),
        0 0 25px rgba(var(--brand-accent-rgb), .18) !important;
}

:is(:root[data-bs-theme="dark"], .dark-mode) :is(
    .card,
    .stat-card,
    .statistics-card,
    .counter-card,
    .trust-feature,
    .contact-form-card,
    .get-in-touch-card,
    .info-card,
    .service-card,
    .hover-lift
):hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .65),
        0 0 35px rgba(var(--brand-accent-rgb), .32) !important;
}

:is(:root[data-bs-theme="dark"], .dark-mode) :is(
    .service-icon-shell,
    .contact-icon-shell,
    .feature-icon-box,
    .credibility-stat-icon
) {
    border: 1px solid rgba(var(--brand-accent-rgb), .42);
    background: rgba(var(--brand-accent-rgb), .16);
    color: var(--brand-accent-light);
}

:is(:root[data-bs-theme="dark"], .dark-mode) :is(
    .service-icon-shell,
    .contact-icon-shell,
    .feature-icon-box,
    .credibility-stat-icon
) :is(i, .service-icon, .contact-icon, .feature-icon) {
    color: var(--brand-accent-light);
}

:is(:root[data-bs-theme="dark"], .dark-mode) footer a:not(.footer-brand-logo-frame):not(.social-link) {
    display: inline-block;
    transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

:is(:root[data-bs-theme="dark"], .dark-mode) footer a:not(.footer-brand-logo-frame):not(.social-link):hover {
    color: var(--brand-accent-light) !important;
    text-shadow: 0 0 12px rgba(var(--brand-accent-rgb), .55);
    transform: translateY(-2px);
}

:is(:root[data-bs-theme="dark"], .dark-mode) footer .social-link {
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

:is(:root[data-bs-theme="dark"], .dark-mode) footer .social-link:hover {
    background: rgba(var(--brand-accent-rgb), .2);
    color: var(--brand-accent-light);
    box-shadow: 0 0 16px rgba(var(--brand-accent-rgb), .4);
}

:root[data-bs-theme="dark"] .form-control,
:root[data-bs-theme="dark"] .form-select,
:root[data-bs-theme="dark"] .input-group-text {
    border-color: var(--brand-border);
    background-color: var(--brand-input-surface);
    color: var(--brand-text);
}

:root[data-bs-theme="dark"] .form-control::placeholder {
    color: var(--brand-muted);
    opacity: 1;
}

:root[data-bs-theme="dark"] .form-control:disabled,
:root[data-bs-theme="dark"] .form-select:disabled {
    background-color: var(--brand-surface-muted);
    color: var(--brand-muted);
}

:root[data-bs-theme="dark"] .form-control:focus,
:root[data-bs-theme="dark"] .form-select:focus {
    border-color: var(--brand-accent-light);
    background-color: var(--brand-input-surface);
    color: var(--brand-text);
    box-shadow: 0 0 0 .2rem rgba(var(--brand-accent-rgb), .24);
}

:root[data-bs-theme="dark"] .form-control:focus-visible,
:root[data-bs-theme="dark"] .form-select:focus-visible,
:root[data-bs-theme="dark"] .form-check-input:focus-visible,
:root[data-bs-theme="dark"] :focus-visible {
    outline-color: var(--brand-accent-light);
}

:root[data-bs-theme="dark"] .form-check-input {
    border-color: rgba(255, 255, 255, .35);
    background-color: var(--brand-input-surface);
}

:root[data-bs-theme="dark"] .form-check-input:checked {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary);
}

:root[data-bs-theme="dark"] .dropdown-menu {
    --bs-dropdown-bg: var(--brand-surface-muted);
    --bs-dropdown-color: var(--brand-text);
    --bs-dropdown-link-color: var(--brand-text);
    --bs-dropdown-link-hover-bg: var(--brand-primary);
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-active-bg: var(--brand-primary);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-divider-bg: var(--brand-border);

    border: 1px solid var(--brand-border);
    background-color: var(--brand-surface-muted);
    color: var(--brand-text);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .32);
}

:root[data-bs-theme="dark"] .dropdown-item {
    color: var(--brand-text);
}

:root[data-bs-theme="dark"] .dropdown-item:hover,
:root[data-bs-theme="dark"] .dropdown-item:focus,
:root[data-bs-theme="dark"] .dropdown-item.active,
:root[data-bs-theme="dark"] .dropdown-item:active {
    background-color: var(--brand-primary);
    color: #fff;
}

:root[data-bs-theme="dark"] .dropdown-divider {
    border-top-color: var(--brand-border);
}

:root[data-bs-theme="dark"] .list-group-item,
:root[data-bs-theme="dark"] .accordion-item,
:root[data-bs-theme="dark"] .modal-content,
:root[data-bs-theme="dark"] .offcanvas,
:root[data-bs-theme="dark"] .toast,
:root[data-bs-theme="dark"] .popover {
    border-color: var(--brand-border);
    background-color: var(--brand-surface-muted);
    color: var(--brand-text);
}

:root[data-bs-theme="dark"] .accordion-button {
    background-color: var(--brand-surface-muted);
    color: var(--brand-text);
}

:root[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--brand-input-surface);
    color: var(--brand-accent-light);
}

:root[data-bs-theme="dark"] .table {
    --bs-table-color: var(--brand-text);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--brand-border);
    --bs-table-striped-color: var(--brand-text);
    --bs-table-striped-bg: rgba(255, 255, 255, .035);
    --bs-table-hover-color: var(--brand-text);
    --bs-table-hover-bg: rgba(255, 255, 255, .06);
}

:root[data-bs-theme="dark"] .pagination {
    --bs-pagination-color: var(--brand-accent-light);
    --bs-pagination-bg: var(--brand-surface-muted);
    --bs-pagination-border-color: var(--brand-border);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--brand-primary);
    --bs-pagination-hover-border-color: var(--brand-primary);
    --bs-pagination-disabled-color: var(--brand-muted);
    --bs-pagination-disabled-bg: var(--brand-surface-muted);
    --bs-pagination-disabled-border-color: var(--brand-border);
}

:root[data-bs-theme="dark"] .credibility-strip {
    background: var(--brand-wave-surface);
    box-shadow: none;
}

:root[data-bs-theme="dark"] .hero-wave-fill {
    fill: var(--brand-wave-surface);
}

:root[data-bs-theme="dark"] .theme-toggle {
    min-width: 2.25rem;
}

/* ==========================================================
   ACCESSIBILITY — respect user's reduced-motion preference
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .whatsapp-float a,
    .animate-bounce {
        animation: none !important;
    }

    .card:hover,
    .hover-lift:hover,
    .btn-primary:hover,
    .btn-warning:hover {
        transform: none !important;
    }

    .hero-slide {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   ABOUT PAGE — migrated from about.blade.php inline styles
   ========================================================== */

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.w-fit {
    width: fit-content;
}

/* Bounce for the About page WhatsApp quick-contact pill (2.4s, not 1.6s) */
@keyframes animate-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.animate-bounce {
    animation: animate-bounce 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .animate-bounce { animation: none !important; }
}

/* Partner logo cards */
.partner-logo-card {
    min-height: 130px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) !important;
}

.partner-logo {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

@media (min-width: 992px) {
    .partner-logo-card {
        min-height: 120px;
        padding: .75rem !important;
    }

    .partner-logo {
        max-height: 42px;
    }
}

/* Team carousel — visible arrows on light and dark backgrounds */
#teamCarousel .carousel-control-prev-icon,
#teamCarousel .carousel-control-next-icon {
    filter: invert(1) brightness(0.3);
    width: 1.75rem;
    height: 1.75rem;
}

:root[data-bs-theme="dark"] #teamCarousel .carousel-control-prev-icon,
:root[data-bs-theme="dark"] #teamCarousel .carousel-control-next-icon {
    filter: none;
}

#teamCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6c757d;
    border: none;
}

#teamCarousel .carousel-indicators .active {
    background-color: var(--brand-primary);
}

:root[data-bs-theme="dark"] #teamCarousel .carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, .4);
}

:root[data-bs-theme="dark"] #teamCarousel .carousel-indicators .active {
    background-color: var(--brand-accent-light);
}

/* ==========================================================
   HERO HEADLINE — split emphasis/core with amber-gold accent
   ========================================================== */

.hero-headline {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    max-width: 610px;
}

.hero-headline-emphasis {
    color: var(--brand-accent-light);
    display: inline;
}

.hero-headline-core {
    color: var(--brand-surface);
    display: inline;
}

:root[data-bs-theme="dark"] .hero-headline-core {
    color: var(--brand-on-dark);
}

@media (max-width: 575.98px) {
    .hero-headline-emphasis { display: block; }
    .hero-headline-core     { display: block; margin-top: 0.25rem; }
}