/* ==========================================================================
   Get Tunisia Transfer - Premium Mediterranean theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Design Tokens
   -------------------------------------------------------------------------- */
:root {
    --gtt-navy: #0a2a66;
    --gtt-navy-dark: #061b43;
    --gtt-gold: #c9a84c;
    --gtt-gold-dark: #a8893a;
    --gtt-cream: #faf8f3;
    --gtt-page-bg: #ffffff;
    /* Tunisia beach backdrop (customer shell + homepage hero) */
    --gtt-beach-image: url("../images/tunisia-beach-bg.png");
    --gtt-text: #334155;
    --gtt-text-muted: #525f7f;
    --gtt-border: #e6ebf3;
    --gtt-shadow-sm: 0 4px 12px rgba(10, 42, 102, 0.04);
    --gtt-shadow-md: 0 10px 30px rgba(10, 42, 102, 0.08);
    --gtt-shadow-lg: 0 20px 40px rgba(10, 42, 102, 0.12);
    --gtt-radius-sm: 12px;
    --gtt-radius-md: 16px;
    --gtt-radius-lg: 22px;
}

/* --------------------------------------------------------------------------
   02. Base / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gtt-page-bg);
    color: var(--gtt-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.auth-body {
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 42, 102, 0.06) 0%, transparent 50%),
        var(--gtt-page-bg);
}

/* Premium “back to home” control on standalone auth pages */
a.gtt-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.95rem 0.42rem 0.72rem;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gtt-navy);
    text-decoration: none;
    border: 1px solid rgba(10, 42, 102, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(10, 42, 102, 0.07);
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

a.gtt-back-home .gtt-back-home__icon {
    font-size: 1rem;
    line-height: 1;
    color: var(--gtt-navy-dark);
    transition: color 0.22s ease, transform 0.22s ease;
}

a.gtt-back-home:hover,
a.gtt-back-home:focus-visible {
    color: var(--gtt-navy-dark);
    border-color: rgba(201, 168, 76, 0.55);
    background: #fff;
    box-shadow:
        0 2px 10px rgba(10, 42, 102, 0.1),
        0 0 0 1px rgba(201, 168, 76, 0.22);
    transform: translateY(-1px);
    outline: none;
}

a.gtt-back-home:hover .gtt-back-home__icon,
a.gtt-back-home:focus-visible .gtt-back-home__icon {
    color: var(--gtt-gold-dark);
    transform: translateX(-2px);
}

@media (max-width: 575.98px) {
    a.gtt-back-home {
        font-size: 0.78rem;
        padding: 0.38rem 0.85rem 0.38rem 0.65rem;
    }
}

.page-wrap {
    min-height: calc(100vh - 230px);
}

/* --------------------------------------------------------------------------
   Customer shell: bright beach backdrop (body.page-bg-beach)
   Applied to <body> for /customer/* via includes/header.php; also use with
   auth-body on standalone customer login/register pages.
   -------------------------------------------------------------------------- */
body.page-bg-beach {
    background-color: #eaf6fc;
    background-image:
        linear-gradient(
            165deg,
            rgba(255, 252, 248, 0.72) 0%,
            rgba(255, 255, 255, 0.48) 45%,
            rgba(236, 248, 255, 0.62) 100%
        ),
        var(--gtt-beach-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
}

@media (min-width: 992px) {
    body.page-bg-beach {
        background-attachment: fixed;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-bg-beach {
        background-attachment: scroll;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--gtt-navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

p,
li {
    color: var(--gtt-text);
}

small,
.text-muted {
    color: var(--gtt-text-muted) !important;
}

a {
    color: var(--gtt-navy);
}

a:hover {
    color: var(--gtt-navy-dark);
}

/* --------------------------------------------------------------------------
   03. Navbar
   -------------------------------------------------------------------------- */
.navbar-gtt {
    background: var(--gtt-navy) !important;
    padding: 16px 0;
}

.navbar-gtt .navbar-brand {
    color: #fff !important;
    font-weight: 700;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
    margin-right: 8px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.18);
    color: var(--gtt-gold);
    font-size: 16px;
    transform: rotate(-15deg);
    transition: transform 0.2s ease;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(0deg);
}

.navbar-gtt .nav-link {
    color: #fff !important;
    font-weight: 500;
    opacity: 0.9;
}

.navbar-gtt .nav-link:hover,
.navbar-gtt .nav-link.active {
    color: var(--gtt-gold) !important;
    opacity: 1;
}

.auth-btn {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #fff !important;
    border-radius: var(--gtt-radius-sm);
    font-weight: 600;
}

.auth-btn:hover {
    background: var(--gtt-gold);
    color: var(--gtt-navy) !important;
    border-color: var(--gtt-gold);
}

.btn-outline-navy {
    border: 1px solid var(--gtt-navy);
    color: var(--gtt-navy);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background: var(--gtt-navy);
    color: #fff;
}

.gtt-navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
}

/* --------------------------------------------------------------------------
   04. Buttons
   -------------------------------------------------------------------------- */
.btn {
    border-radius: 14px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary,
.btn-gold,
.btn-home-search,
#searchBtn {
    background: var(--gtt-gold);
    border-color: var(--gtt-gold);
    color: var(--gtt-navy);
}

.btn-primary:hover,
.btn-gold:hover,
.btn-home-search:hover,
#searchBtn:hover {
    background: var(--gtt-gold-dark);
    border-color: var(--gtt-gold-dark);
    color: var(--gtt-navy);
    transform: translateY(-1px);
    box-shadow: var(--gtt-shadow-md);
}

.btn-navy {
    background: var(--gtt-navy);
    border-color: var(--gtt-navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--gtt-navy-dark);
    border-color: var(--gtt-navy-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--gtt-shadow-md);
}

.btn-ghost,
.btn-outline-primary,
.btn-outline-secondary {
    background: transparent;
    color: var(--gtt-navy);
    border-color: var(--gtt-navy);
}

.btn-ghost:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    background: var(--gtt-navy);
    color: #fff;
    border-color: var(--gtt-navy);
}

/* --------------------------------------------------------------------------
   05. Cards / Surfaces
   -------------------------------------------------------------------------- */
.card,
.badge-card,
.review-card,
.step-card,
.vehicle-card {
    background: #fff;
    border: 1px solid var(--gtt-border) !important;
    border-radius: var(--gtt-radius-md) !important;
    box-shadow: var(--gtt-shadow-sm);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover,
.badge-card:hover,
.review-card:hover,
.step-card:hover,
.vehicle-card:hover {
    box-shadow: var(--gtt-shadow-md);
    transform: translateY(-2px);
}

.card-header {
    border-top-left-radius: var(--gtt-radius-md) !important;
    border-top-right-radius: var(--gtt-radius-md) !important;
}

/* Navy / gradient card headers: subtitles must stay readable (Bootstrap .opacity-75 is too dim on navy). */
.card-header.auth-header p,
.card-header.offers-header p,
.card-header.summary-header p,
.card-header.text-white p {
    color: rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
}

.card-header.auth-header .opacity-75,
.card-header.offers-header .opacity-75,
.card-header.summary-header .opacity-75,
.card-header.text-white .opacity-75 {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.card-header.offers-header .small,
.card-header.summary-header .small {
    color: rgba(255, 255, 255, 0.88) !important;
    opacity: 1 !important;
}

/* Dark hero / navy bands: subtitle lines using .text-white.opacity-75 (reviews, contact, etc.) */
.text-white.opacity-75 {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.premium-card-hover {
    border: 1px solid var(--gtt-border);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--gtt-shadow-lg);
    border-color: rgba(201, 168, 76, 0.3);
}

.section-title {
    color: var(--gtt-navy);
}

.accent-line {
    width: 72px;
    height: 4px;
    border-radius: 999px;
    margin: 0 auto 14px;
    background: var(--gtt-gold);
}

/* --------------------------------------------------------------------------
   06. Forms
   -------------------------------------------------------------------------- */
.form-label {
    font-weight: 600;
    color: var(--gtt-navy);
    font-size: 0.85rem;
    margin-bottom: 6px;
    letter-spacing: 0.015em;
    opacity: 0.85;
}

.form-control,
.form-select,
textarea.form-control {
    border: 1px solid var(--gtt-border);
    border-radius: var(--gtt-radius-sm);
    padding: 14px 18px;
    font-size: 16px;
    min-height: 52px;
    background-color: #f8f9fc;
    color: var(--gtt-text);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 110px;
}

input[type="time"].form-control,
input[type="date"].form-control {
    padding-right: 14px;
}

input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    background-color: #ffffff;
    border-color: var(--gtt-gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
    outline: none;
}

input[type="date"].form-control,
input[type="time"].form-control {
    appearance: none;
    -webkit-appearance: none;
    color: var(--gtt-text);
}

/* --------------------------------------------------------------------------
   07. Homepage Hero
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 600px;
    background:
        linear-gradient(
            165deg,
            rgba(255, 252, 248, 0.58) 0%,
            rgba(255, 255, 255, 0.42) 45%,
            rgba(236, 248, 255, 0.55) 100%
        ),
        var(--gtt-beach-image) center/cover no-repeat;
    color: var(--gtt-text);
    padding: 64px 0;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--gtt-gold-dark) !important;
    font-weight: 700;
}

.hero-title {
    color: var(--gtt-navy);
    margin: 0 0 14px;
}

.hero-subtitle {
    color: var(--gtt-text) !important;
    max-width: 620px;
}

.hero-trust-pills {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hero-trust-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--gtt-navy);
    border: 1px solid rgba(10, 42, 102, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--gtt-shadow-sm);
}

.search-card {
    border-radius: var(--gtt-radius-md);
    box-shadow: var(--gtt-shadow-lg);
}

.search-card .card-body {
    padding: 28px;
}

.search-card h2 {
    margin-bottom: 1rem;
}

.btn-home-search,
#searchBtn {
    width: 100%;
    min-height: 52px;
}

.hero-strip {
    margin-top: -30px;
    position: relative;
    z-index: 3;
}

.hero-strip .hero-strip-inner {
    background: linear-gradient(135deg, var(--gtt-navy-dark) 0%, var(--gtt-navy) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gtt-radius-md);
    box-shadow: var(--gtt-shadow-md);
    padding: 18px 24px;
}

.hero-strip .hero-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

.hero-strip .hero-strip-item i {
    color: var(--gtt-gold);
    font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   08. Homepage Supporting Sections
   -------------------------------------------------------------------------- */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gtt-navy), var(--gtt-navy-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gtt-shadow-sm);
}

.badge-card {
    text-align: center;
    padding: 24px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    color: var(--gtt-navy);
    background: rgba(201, 168, 76, 0.15);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.badge-card:hover .trust-icon {
    background: var(--gtt-gold);
    color: #fff;
    transform: scale(1.05);
}

.review-card {
    padding: 20px !important;
}

.star {
    color: var(--gtt-gold);
    letter-spacing: 2px;
}

.hero-cta-panel {
    background: linear-gradient(135deg, var(--gtt-navy-dark), var(--gtt-navy));
    box-shadow: var(--gtt-shadow-md);
}

.popular-route-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: var(--gtt-radius-md);
    border-top-right-radius: var(--gtt-radius-md);
}

.popular-route-card .list-unstyled li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--gtt-border);
    padding: 6px 0;
}

/* --------------------------------------------------------------------------
   09. Customer post-ride route map
   -------------------------------------------------------------------------- */
#route-map {
    width: 100%;
    height: 400px;
    border-radius: var(--gtt-radius-sm);
    border: 1px solid var(--gtt-border);
    background: #f6f9ff;
    box-shadow: var(--gtt-shadow-sm);
}

.post-ride-map-sticky {
    top: 96px;
}

/* --------------------------------------------------------------------------
   10. Tables / Dashboard visuals
   -------------------------------------------------------------------------- */
.table {
    --bs-table-bg: transparent;
}

.table thead th {
    color: var(--gtt-navy);
    font-weight: 700;
    border-bottom-width: 1px;
    border-bottom-color: var(--gtt-border);
}

.table tbody td {
    border-bottom-color: var(--gtt-border);
    color: var(--gtt-text);
}

.deposit-highlight {
    background: linear-gradient(135deg, var(--gtt-navy-dark), var(--gtt-navy));
    color: #fff;
    border-radius: var(--gtt-radius-sm);
}

.offer-card {
    border-left: 4px solid var(--gtt-gold);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.footer-gtt {
    background: var(--gtt-navy-dark);
    color: #fff;
}

.footer-gtt h5,
.footer-gtt h6 {
    color: #fff;
}

.footer-gtt .footer-gtt-text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-gtt .footer-gtt-link {
    color: rgba(255, 255, 255, 0.93);
}

.footer-gtt .footer-gtt-link:hover {
    color: var(--gtt-gold);
}

.footer-gtt .footer-gtt-hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Cookie consent (GDPR transparency) */
.gtt-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    background: linear-gradient(135deg, rgba(6, 27, 67, 0.98), rgba(10, 42, 102, 0.98));
    color: #fff;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gtt-cookie-banner .gtt-cookie-banner-text {
    color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------------------------------------------------
   12. Utility Spacing Helpers
   -------------------------------------------------------------------------- */
.gtt-section {
    padding: 56px 0;
}

.gtt-section-sm {
    padding: 32px 0;
}

.gtt-section-lg {
    padding: 84px 0;
}

.gtt-surface-cream {
    background: var(--gtt-cream);
    border-radius: var(--gtt-radius-lg);
}

/* --------------------------------------------------------------------------
   13. Responsive Layout
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .search-card .card-body {
        padding: 24px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
        padding: 48px 0 56px;
    }

    .hero-trust-pills {
        gap: 8px;
    }

    .hero-strip {
        margin-top: 16px;
    }

    .navbar-gtt .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.65rem 0;
    }

    .auth-btn {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 36px;
    }

    .search-card {
        margin-top: 10px;
    }

    .search-card .card-body {
        padding: 20px;
    }

    .hero-trust-pill {
        font-size: 0.84rem;
    }

    #route-map {
        height: 280px;
    }
}

@media (max-width: 991.98px) {
    .post-ride-map-sticky {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 375px) {
    .btn,
    .btn-home-search,
    #searchBtn {
        padding: 11px 18px;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* --------------------------------------------------------------------------
   14. Flash Toasts
   -------------------------------------------------------------------------- */
.gtt-flash-stack {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1080;
    width: min(360px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gtt-flash-toast {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--gtt-shadow-md);
    padding: 14px 42px 14px 18px;
    border-left: 4px solid var(--gtt-gold);
    color: var(--gtt-text);
    animation: slideInRight 0.22s ease;
}

.gtt-flash-success { border-left-color: #198754; }
.gtt-flash-info { border-left-color: var(--gtt-gold); }
.gtt-flash-warning { border-left-color: var(--gtt-gold-dark); }
.gtt-flash-danger { border-left-color: #dc3545; }

.gtt-flash-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #5f6f87;
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 24px;
    padding: 0;
}

.gtt-flash-close:hover {
    color: var(--gtt-navy);
}

.gtt-flash-message {
    font-size: 0.94rem;
    line-height: 1.4;
}

.gtt-flash-toast.is-hiding {
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --------------------------------------------------------------------------
   15. Validation Message Behavior
   -------------------------------------------------------------------------- */
.invalid-feedback,
.invalid-feedback.d-block {
    display: none !important;
    color: #b3261e;
    font-size: 13px;
    margin-top: 0.3rem;
}

.was-validated :invalid ~ .invalid-feedback,
input.was-touched:invalid ~ .invalid-feedback,
select.was-touched:invalid ~ .invalid-feedback,
textarea.was-touched:invalid ~ .invalid-feedback {
    display: block !important;
}

.was-validated :invalid ~ .invalid-feedback::before,
input.was-touched:invalid ~ .invalid-feedback::before,
select.was-touched:invalid ~ .invalid-feedback::before,
textarea.was-touched:invalid ~ .invalid-feedback::before {
    font-family: "bootstrap-icons";
    content: "\f33a";
    margin-right: 6px;
    vertical-align: -1px;
}

/* --------------------------------------------------------------------------
   16. Footer Social Buttons
   -------------------------------------------------------------------------- */
.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn i {
    font-size: 20px;
    color: #fff;
}

.footer-social-btn.facebook:hover {
    background: #1877f2;
}

.footer-social-btn.instagram:hover {
    background: #e1306c;
}

/* --------------------------------------------------------------------------
   18. Trust Logo Strip
   -------------------------------------------------------------------------- */
.trust-strip-wrapper {
    overflow: hidden;
    white-space: nowrap;
    background: #f8f9fc;
    border-top: 1px solid var(--gtt-border);
    border-bottom: 1px solid var(--gtt-border);
    padding: 22px 0 24px;
    position: relative;
}

.trust-strip-intro {
    margin-bottom: 1.15rem;
    padding: 0 0.75rem 0.15rem;
}

@media (min-width: 768px) {
    .trust-strip-intro {
        margin-bottom: 1.35rem;
    }
}

.trust-strip-wrapper::before,
.trust-strip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 768px) {
    .trust-strip-wrapper::before,
    .trust-strip-wrapper::after {
        width: 150px;
    }
}

.trust-strip-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fc, transparent);
}

.trust-strip-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fc, transparent);
}

.trust-strip-track {
    display: inline-flex;
    align-items: center;
    gap: 52px;
    animation: trustMarquee 45s linear infinite;
    padding-left: 52px;
}

@keyframes trustMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stylised name badges (not official logos; inspired brand palette) */
.trust-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 2.15rem;
    padding: 0.35rem 0.8rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
    user-select: none;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.trust-brand-badge--tui {
    background: linear-gradient(125deg, #c8102e 0%, #003d82 100%);
    color: #fff;
}

.trust-brand-badge--jet2 {
    background: linear-gradient(180deg, #e42313 0%, #0a2a66 55%, #0a2a66 100%);
    color: #fff;
}

.trust-brand-badge--easyjet {
    background: linear-gradient(135deg, #ff6900 0%, #e85a00 100%);
    color: #fff;
    font-size: 0.68rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}

.trust-brand-badge--loveholidays {
    background: linear-gradient(135deg, #5b21b6 0%, #0d9488 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.72rem;
}

.trust-brand-badge--booking {
    background: #003580;
    color: #fff;
    font-size: 0.74rem;
}

.trust-brand-badge--expedia {
    background: linear-gradient(135deg, #142339 0%, #1c2f4a 100%);
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.25);
}

.trust-brand-badge--sunweb {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fffdf8;
}

.trust-brand-badge--der {
    background: linear-gradient(135deg, #1e3a5f 0%, #334e68 100%);
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.74rem;
}

/* --------------------------------------------------------------------------
   19. Recent Activity Ticker
   -------------------------------------------------------------------------- */
.recent-activity-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.recent-activity-ticker i {
    color: var(--gtt-gold);
    font-size: 1rem;
}

.ticker-text {
    transition: opacity 0.4s ease;
}
.ticker-text.fade-out {
    opacity: 0;
}

/* --------------------------------------------------------------------------
   20. Review Star Selector
   -------------------------------------------------------------------------- */
.star-rating-ui {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-ui input[type="radio"] {
    display: none;
}

.star-rating-ui label {
    font-size: 2rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.star-rating-ui label:hover,
.star-rating-ui label:hover ~ label,
.star-rating-ui input[type="radio"]:checked ~ label {
    color: var(--gtt-gold);
}

/* --------------------------------------------------------------------------
   17. Services Icon Capsules
   -------------------------------------------------------------------------- */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
}

.service-icon i {
    font-size: 28px;
    color: var(--gtt-gold);
}

/* ============================================================
 PHASE 3.7 — Animated waiting screen for view-offers empty state
 ============================================================ */

.waiting-card {
 background: #ffffff;
 border: 1px solid var(--gtt-border, #e6ebf3);
 border-radius: 16px;
 box-shadow: 0 8px 24px rgba(10, 42, 102, 0.08);
 padding: 40px 24px;
 margin: 24px 0;
 text-align: center;
 overflow: hidden;
 position: relative;
}

.waiting-card::before {
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(circle at 20% 20%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
 radial-gradient(circle at 80% 80%, rgba(10, 42, 102, 0.04) 0%, transparent 50%);
 pointer-events: none;
}

.waiting-card-inner {
 position: relative;
 max-width: 560px;
 margin: 0 auto;
}

/* ============================================================
   PHASE 4 — UI/UX Polish Animations
   ============================================================ */

.gtt-fade-in {
    animation: gttFadeInUp 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes gttFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Radar / pulsing pin */
.waiting-radar {
 position: relative;
 width: 120px;
 height: 120px;
 margin: 0 auto 24px;
}

.waiting-radar-pulse {
 position: absolute;
 inset: 0;
 border-radius: 50%;
 border: 2px solid var(--gtt-gold, #c9a84c);
 opacity: 0;
 animation: waiting-pulse 2.4s ease-out infinite;
}

.waiting-radar-pulse--delay {
 animation-delay: 1.2s;
}

.waiting-radar-core {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 56px;
 height: 56px;
 border-radius: 50%;
 background: var(--gtt-navy, #0a2a66);
 color: var(--gtt-gold, #c9a84c);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 26px;
 box-shadow: 0 4px 16px rgba(10, 42, 102, 0.25);
 animation: waiting-bob 2.4s ease-in-out infinite;
}

@keyframes waiting-pulse {
 0% {
 transform: scale(0.6);
 opacity: 0.8;
 }
 100% {
 transform: scale(1.6);
 opacity: 0;
 }
}

@keyframes waiting-bob {
 0%, 100% { transform: translate(-50%, -50%) translateY(0); }
 50% { transform: translate(-50%, -50%) translateY(-3px); }
}

/* Title with animated dots */
.waiting-title {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--gtt-navy, #0a2a66);
 margin: 0 0 8px;
 letter-spacing: -0.01em;
}

.waiting-dots {
 display: inline-block;
 margin-left: 2px;
}

.waiting-dots span {
 display: inline-block;
 opacity: 0.2;
 animation: waiting-dot 1.4s infinite;
}

.waiting-dots span:nth-child(2) { animation-delay: 0.2s; }
.waiting-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes waiting-dot {
 0%, 60%, 100% { opacity: 0.2; }
 30% { opacity: 1; }
}

.waiting-subtitle {
 color: var(--gtt-text-muted, #5a6b85);
 font-size: 0.95rem;
 margin: 0 0 24px;
 line-height: 1.55;
}

/* Progress bar (purely cosmetic — slowly fills, loops) */
.waiting-progress {
 width: 100%;
 max-width: 320px;
 height: 4px;
 background: rgba(10, 42, 102, 0.08);
 border-radius: 999px;
 margin: 0 auto 28px;
 overflow: hidden;
}

.waiting-progress-fill {
 height: 100%;
 width: 0%;
 background: linear-gradient(90deg, var(--gtt-gold, #c9a84c), var(--gtt-navy, #0a2a66));
 border-radius: 999px;
 animation: waiting-fill 12s ease-in-out infinite;
}

@keyframes waiting-fill {
 0% { width: 0%; }
 50% { width: 90%; }
 100% { width: 0%; }
}

/* Reassurance card */
.waiting-reassure {
 background: rgba(201, 168, 76, 0.08);
 border: 1px solid rgba(201, 168, 76, 0.2);
 border-radius: 12px;
 padding: 16px;
 display: flex;
 align-items: flex-start;
 gap: 12px;
 text-align: left;
 margin-bottom: 24px;
}

.waiting-reassure-icon {
 flex-shrink: 0;
 width: 36px;
 height: 36px;
 border-radius: 8px;
 background: rgba(201, 168, 76, 0.18);
 color: var(--gtt-gold, #c9a84c);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 18px;
}

.waiting-reassure-text {
 color: var(--gtt-text, #13233f);
 font-size: 0.92rem;
 line-height: 1.5;
}

.waiting-reassure-text strong {
 display: block;
 margin-bottom: 2px;
 color: var(--gtt-navy, #0a2a66);
}

/* Tips strip */
.waiting-tips {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 24px;
 flex-wrap: wrap;
 padding-top: 12px;
 border-top: 1px solid var(--gtt-border, #e6ebf3);
}

.waiting-tip {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 color: var(--gtt-text-muted, #5a6b85);
 font-size: 0.85rem;
 font-weight: 500;
}

.waiting-tip i {
 color: var(--gtt-gold, #c9a84c);
 font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 575px) {
 .waiting-card {
 padding: 32px 16px;
 }
 .waiting-radar {
 width: 96px;
 height: 96px;
 margin-bottom: 20px;
 }
 .waiting-radar-core {
 width: 44px;
 height: 44px;
 font-size: 20px;
 }
 .waiting-title {
 font-size: 1.25rem;
 }
 .waiting-tips {
 gap: 12px;
 }
 .waiting-tip {
 font-size: 0.8rem;
 }
}

/* Respect reduced-motion preference (accessibility) */
@media (prefers-reduced-motion: reduce) {
 .waiting-radar-pulse,
 .waiting-radar-core,
 .waiting-dots span,
 .waiting-progress-fill {
 animation: none;
 }
 .waiting-radar-pulse {
 opacity: 0.3;
 }
 .waiting-progress-fill {
 width: 50%;
 }
}

/* ============================================================
 PHASE 3.7B — Popular routes: distance + time (no prices)
 ============================================================ */

.route-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 10px 0;
 border-bottom: 1px solid rgba(10, 42, 102, 0.08);
 gap: 12px;
}

.route-row:last-child {
 border-bottom: none;
}

.route-row-name {
 font-weight: 600;
 color: var(--gtt-navy, #0a2a66);
 font-size: 0.95rem;
}

.route-row-meta {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 color: var(--gtt-text-muted, #5a6b85);
 font-size: 0.85rem;
 font-weight: 500;
 white-space: nowrap;
}

.route-row-distance {
 color: var(--gtt-navy, #0a2a66);
 font-weight: 600;
}

.route-row-divider {
 opacity: 0.4;
}

.route-row-time {
 color: var(--gtt-text-muted, #5a6b85);
}

@media (max-width: 380px) {
 .route-row-meta {
 font-size: 0.78rem;
 gap: 4px;
 }
}

/* --------------------------------------------------------------------------
   21. About Section Icons
   -------------------------------------------------------------------------- */
.about-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.15);
    color: var(--gtt-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   22. Ride pickup / request-posted timing (dashboards & lists)
   -------------------------------------------------------------------------- */
.gtt-ride-timing {
    margin-bottom: 0.5rem;
}

.gtt-ride-timing--compact .gtt-ride-timing__label {
    font-size: 0.62rem;
}

.gtt-ride-timing--compact .gtt-ride-timing__pickup {
    font-size: 0.9rem;
}

.gtt-ride-timing--compact .gtt-ride-timing__posted {
    font-size: 0.75rem;
}

.gtt-ride-timing__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.gtt-ride-timing__pickup {
    font-weight: 700;
    color: var(--gtt-navy);
    font-size: 1rem;
    line-height: 1.35;
}

.gtt-ride-timing__posted {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.4rem;
    line-height: 1.4;
}

.gtt-ride-timing__posted-label {
    font-weight: 600;
    color: #64748b;
    margin-right: 0.25rem;
}

.gtt-ride-timing__posted-value {
    font-weight: 500;
    color: #94a3b8;
}

.gtt-badge-upcoming-ride {
    background: linear-gradient(135deg, var(--gtt-navy), var(--gtt-navy-dark));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.35em 0.75em;
}
