/*
Theme Name: Breck
Theme URI:
Author: Quicklaunch Ltd
Author URI: https://www.quicklaunch.co.uk/
Description: Parent theme.
Version: 1.0
*/


/* Navigation */

nav {}

.is-sticky {
	position: fixed;
	width: 100%;
	z-index: 999;
}

/* Remove spacing for sections  */
.vc_section {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.bgimg .vc_column-inner {
	height: 100%;
	min-height: 300px;
}

/*  */

/* === Base setup === */
/* === Base Animation Setup === */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    will-change: transform, opacity;
}

/* When Active */
.animate.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* === Variants === */
.fade-up {
    transform: translateY(30px);
}
.fade-down {
    transform: translateY(-30px);
}
.fade-left {
    transform: translateX(30px);
}
.fade-right {
    transform: translateX(-30px);
}

.fade-up.in-view,
.fade-down.in-view,
.fade-left.in-view,
.fade-right.in-view {
    transform: translate(0, 0);
}

/* === Delay helpers === */
.delay1 { transition-delay: 0.2s; }
.delay2 { transition-delay: 0.4s; }
.delay3 { transition-delay: 0.6s; }
.delay4 { transition-delay: 0.8s; }

/*  */

/* === Custom Scrollbar === */
:root {
    --scrollbar-bg: #f0f0f0;    /* Track colour */
    --scrollbar-thumb: #005ec4; /* Thumb colour */
    --scrollbar-thumb-hover: #1d2e3a; /* Hover state */
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

/* === Text Highlight Colour === */
::selection {
    background: #005ec4; /* your brand accent */
    color: #ffffff;      /* text colour when highlighted */
}

/* Firefox fallback */
::-moz-selection {
    background: #005ec4;
    color: #ffffff;
}

--scrollbar-thumb: #005ec4;
--scrollbar-thumb-hover: #001d3d;
::selection {
    background: #1c90ff;
    color: #fff;
}
