/* ============================================================
   Velocity Shared Stylesheet
   Applies to all pages via templates/header.php and header_home.php
   ============================================================ */

/* --- Smooth scroll --- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
}

/* =====================
   COLOURS / UTILITIES
   ===================== */
.bg-nav {
    background-image: linear-gradient(to right, #043D5B, #043D5B, #000034, purple);
}
.bg-price-2 {
    background-image: linear-gradient(to right, purple, #000080);
}
.text-v-purple { color: #c158b8; }
.text-v-blue   { color: #675dc6; }

/* =====================
   NAVBAR
   ===================== */
.velocity-navbar {
    padding: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.nav-logo {
    height: 56px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}
.navbar-brand:hover .nav-logo { opacity: 0.82; }

/* Links */
.velocity-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: 0 14px !important;
    height: 56px;
    line-height: 56px;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

/* Underline indicator */
.velocity-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #c158b8;
    border-radius: 2px 2px 0 0;
    transition: width 0.25s ease;
}
.velocity-navbar .navbar-nav .nav-link:hover,
.velocity-navbar .navbar-nav .nav-item.active .nav-link {
    color: #fff !important;
}
.velocity-navbar .navbar-nav .nav-link:hover::after,
.velocity-navbar .navbar-nav .nav-item.active .nav-link::after {
    width: 65%;
}

/* "How To" pill */
.velocity-navbar .nav-link-cta {
    background: #c158b8;
    border-radius: 20px;
    color: #fff !important;
    padding: 0 20px !important;
    height: 34px !important;
    line-height: 34px !important;
    margin-left: 8px;
    margin-top: 11px;
    letter-spacing: 0.8px;
    transition: background 0.25s ease, transform 0.2s ease !important;
}
.velocity-navbar .nav-link-cta::after { display: none !important; }
.velocity-navbar .nav-link-cta:hover  { background: #a03d98; transform: translateY(-1px); }

/* Custom hamburger */
.velocity-toggler {
    border: 2px solid rgba(193, 88, 184, 0.6);
    border-radius: 6px;
    padding: 8px 10px;
    background: none;
    transition: border-color 0.2s ease;
}
.velocity-toggler:focus { outline: none; box-shadow: none; }
.velocity-toggler:hover { border-color: #c158b8; }
.toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Mobile menu */
@media (max-width: 991px) {
    .velocity-navbar { padding: 0 4px; }
    .nav-logo { height: 46px; }
    .velocity-navbar .navbar-collapse {
        background: linear-gradient(180deg, #020024 0%, #043D5B 100%);
        margin: 0 -4px;
        padding: 8px 0 16px;
        border-top: 2px solid rgba(193, 88, 184, 0.4);
    }
    .velocity-navbar .navbar-nav .nav-link {
        height: auto;
        line-height: 1;
        padding: 14px 24px !important;
        font-size: 13px;
        letter-spacing: 1.2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .velocity-navbar .navbar-nav .nav-link::after { display: none; }
    .velocity-navbar .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }
    .velocity-navbar .nav-link-cta {
        display: inline-block;
        margin: 12px 24px 0;
        padding: 10px 24px !important;
        height: auto !important;
        line-height: 1 !important;
        text-align: center;
        border-radius: 24px;
    }
}

/* =====================
   PAGE BANNER
   ===================== */
.page-banner {
    background: linear-gradient(135deg, #043D5B 0%, #000034 60%, #3b0068 100%);
    padding: 48px 0 40px;
    color: #fff;
    text-align: center;
}
.page-banner h2 {
    color: #fff;
    font-size: 26px;
    margin: 0 0 6px;
    letter-spacing: 1px;
}
.page-banner p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    font-size: 14px;
}

/* =====================
   PACKAGE CARDS (shared)
   ===================== */
.fixed-size { margin-bottom: 20px; }
.fixed-size-container {
    flex-wrap: wrap;
    justify-content: space-around;
}
@media (min-width: 576px) {
    .fixed-size { width: 210px; }
    .fixed-size-container { display: flex; }
}
.package-font { font-size: 35px; }

.plan {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: none !important;
}
.plan:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.17);
    transform: translateY(-6px);
}
.plan ul li { font-size: 13px; padding: 10px 20px; }
.plan-price {
    padding: 22px 0;
    font-size: 40px;
    margin-bottom: 20px;
}

/* Package section label */
.pkg-section-label {
    background: linear-gradient(to right, #c158b8, #043D5B);
    border-radius: 8px;
    padding: 14px 24px;
    margin-bottom: 4px;
}
.pkg-section-label h4 {
    margin: 0;
    color: #fff;
    font-family: 'Avant Garde', Avantgarde, 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* =====================
   FOOTER
   ===================== */
.velocity-footer {
    background: linear-gradient(135deg, #020024 0%, #043D5B 55%, #1a0050 100%);
    padding: 52px 0 0;
    color: #fff;
}
.velocity-footer .footer-logo { margin-bottom: 14px; }
.velocity-footer .footer-logo img { height: 50px; width: auto; }
.velocity-footer .footer-tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.6;
    max-width: 240px;
}

.velocity-footer h5.footer-heading {
    color: #c158b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(193, 88, 184, 0.35);
}

.velocity-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.velocity-footer .footer-links li { margin-bottom: 10px; }
.velocity-footer .footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.velocity-footer .footer-links a:hover {
    color: #c158b8;
    padding-left: 4px;
}

.velocity-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.5;
}
.velocity-footer .contact-item i {
    color: #c158b8;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

.velocity-footer .footer-bottom {
    margin-top: 40px;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.velocity-footer .footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

/* Back to top */
#back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: #c158b8;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(193, 88, 184, 0.5);
    z-index: 999;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    text-decoration: none;
}
#back-to-top-btn:hover { background: #a03d98; transform: translateY(-2px); color: #fff; }
#back-to-top-btn.show  { display: flex; }

/* =====================
   FORMS (shared)
   ===================== */
.velocity-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10);
    padding: 36px 40px;
    max-width: 520px;
    margin: 0 auto;
}
@media (max-width: 575px) {
    .velocity-form-card { padding: 24px 20px; }
}
.velocity-form-card .form-control {
    border-color: #d0b8f0;
    border-radius: 8px;
    height: 48px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.velocity-form-card .form-control:focus {
    border-color: #c158b8;
    box-shadow: 0 0 0 3px rgba(193, 88, 184, 0.15);
}
.velocity-form-card .custom-select {
    border-color: #d0b8f0;
    border-radius: 8px;
    height: 48px;
    font-size: 15px;
}
.velocity-form-card .custom-select:focus {
    border-color: #c158b8;
    box-shadow: 0 0 0 3px rgba(193, 88, 184, 0.15);
}
.btn-velocity {
    background: linear-gradient(to right, #c158b8, #7b2d8b);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-velocity:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

/* =====================
   HOW-TO CARDS
   ===================== */
.howto-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.howto-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px);
}
.howto-card .card-header {
    background: linear-gradient(to right, #c158b8, #043D5B);
    color: #fff;
    border-radius: 12px 12px 0 0 !important;
    padding: 18px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
}
.howto-card .card-header i { margin-right: 8px; }
.howto-card .card-body { padding: 24px; }
.howto-card ul li,
.howto-card p { font-size: 14px; color: #555; line-height: 1.7; }
.howto-card ul { padding-left: 18px; }
.howto-card ul li { margin-bottom: 8px; }
