/* Cloudient custom styles
   Brand colours:
   Electric Blue  #0046ff
   Sky Blue       #69c2ff
   Cloud Blue     #99e7ff
*/

/* ---- Sticky navigation ---- */
.navbar,
nav {
	position: sticky;
	top: 0;
	z-index: 1030;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Keep navbar expanded until smaller screens.
   If using navbar-expand-lg, override the collapse breakpoint down to 576px */
@media (min-width: 576px) {
	.navbar-expand-lg .navbar-collapse {
		display: flex !important;
		flex-basis: auto;
	}
	.navbar-expand-lg .navbar-toggler {
		display: none;
	}
	.navbar-expand-lg .navbar-nav {
		flex-direction: row;
	}
	.navbar-expand-lg .nav-link {
		padding-right: 0.5rem;
		padding-left: 0.5rem;
	}
}

/* ---- Dropdown overlay (don't push content) ---- */
.navbar .dropdown-menu,
nav .dropdown-menu {
	position: absolute;
	top: 100%;
	z-index: 1040;
}
body {
	color: #1a1a2e;
	line-height: 1.7;
}

h1, h2, h3, h4 {
	color: #111;
}

h1 {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

h2 {
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #99e7ff;
}

h3 {
	font-size: 1.2rem;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	color: #0046ff;
}

.lead {
	font-size: 1.1rem;
	color: #333;
}

/* ---- Links ---- */
a {
	color: #0046ff;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #69c2ff;
	text-decoration: underline;
}

/* ---- Home page trust signal boxes ---- */
.bg-light.rounded {
	background-color: #f8fbff !important;
	border: 1px solid #e8f0fe;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bg-light.rounded:hover {
	border-color: #69c2ff;
	box-shadow: 0 2px 8px rgba(0, 70, 255, 0.1);
}

a .bg-light.rounded strong {
	color: #0046ff;
	font-size: 0.95rem;
}

a .bg-light.rounded small {
	color: #555;
}

/* ---- Service cards ---- */
.border.rounded.h-100 {
	border-color: #e8f0fe !important;
	transition: box-shadow 0.3s ease, border-color 0.2s ease;
}

.border.rounded.h-100:hover {
	box-shadow: 0 4px 16px rgba(0, 70, 255, 0.1);
	border-color: #69c2ff !important;
}

/* ---- Forms ---- */
.form-label {
	font-weight: 500;
	color: #1a1a2e;
	margin-bottom: 0.3rem;
}

.form-control,
.form-select {
	border-color: #d0d8e8;
	border-radius: 4px;
	padding: 0.5rem 0.75rem;
}

.form-control:focus,
.form-select:focus {
	border-color: #69c2ff;
	box-shadow: 0 0 0 3px rgba(105, 194, 255, 0.25);
}

textarea.form-control {
	resize: vertical;
}

address {
	font-style: normal;
	line-height: 1.8;
}

/* ---- CTA button ---- */
.btn-primary {
	background-color: #0046ff;
	border-color: #0046ff;
}

.btn-primary:hover {
	background-color: #0035cc;
	border-color: #0035cc;
}

/* ---- Home page cards (legacy, if still used) ---- */
.display-4 {
	font-size: 1.75rem;
}

.container.my-5 .row.shadow-lg {
	box-shadow: 0 2px 12px rgba(0, 70, 255, 0.08) !important;
	border-color: #e8f0fe !important;
	transition: box-shadow 0.3s ease;
}

.container.my-5 .row.shadow-lg:hover {
	box-shadow: 0 4px 20px rgba(0, 70, 255, 0.14) !important;
}

.container.my-5 img {
	max-width: 140px;
	height: auto;
}

/* ---- Content pages (transfer guide etc.) ---- */
.container-fluid h2 {
	margin-top: 2rem;
}

.container-fluid ul {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.container-fluid ul li {
	margin-bottom: 0.4rem;
	line-height: 1.6;
}

/* Subtle highlight for the note about unsupported versions */
.container-fluid p + ul + p,
.note {
	background: #f8fbff;
	border-left: 3px solid #69c2ff;
	padding: 0.75rem 1rem;
	border-radius: 0 4px 4px 0;
	margin: 1rem 0;
}

/* ---- Jumbotron / hero ---- */
.jumbotron {
	padding: 2rem 0 1rem;
	margin-bottom: 1rem;
}

.jumbotron h1 {
	font-size: 2rem;
}

/* ---- General spacing ---- */
main {
	max-width: 900px;
}

.col-lg-8 {
	max-width: 900px;
}

/* ---- Footer ---- */
footer,
.footer {
	background-color: #0046ff;
	color: #fff;
	font-size: 0.9rem;
}

footer a,
.footer a {
	color: #99e7ff;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 768px) {
	h1 {
		font-size: 1.6rem;
	}

	.display-4 {
		font-size: 1.4rem;
	}

	.container.my-5 .col-lg-4 {
		text-align: center;
		padding: 1rem !important;
	}

	.container.my-5 img {
		max-width: 100px;
	}
}
