:root {
    --primary-navy: #0A2A43;
    --fresh-green: #4CAF50;
    --aqua-blue: #2EB5E5;
    --coral-orange: #FF7043;
    --light-grey: #F5F7FA;
    --dark-grey: #333333;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-grey);
    padding-top: 56px;
}

.navbar {
    background-color: var(--primary-navy);
}

.navbar-brand img {
    max-height: 40px;
}

/* --- Modal Customisation --- */
#appRedirectModal .modal-header {
    background-color: var(--primary-navy);
    color: white;
}

#appRedirectModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-primary {
    background-color: var(--coral-orange);
    border-color: var(--coral-orange);
}

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

.btn-outline-primary {
    color: var(--coral-orange);
    border-color: var(--coral-orange);
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--coral-orange);
    border-color: var(--coral-orange);
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
}

.btn-outline-light:hover {
    color: var(--primary-navy);
    background-color: #fff;
}

#hero {
    background-color: var(--primary-navy);
    color: white;
    padding: 4rem 0;
}

#hero h1 {
    color: white;
}

#hero .lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
}

.hero-image {
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    transition: transform 0.3s ease-in-out;
    position: relative; /* Creates stacking context */
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--aqua-blue) 0%, rgba(10, 42, 67, 0) 65%);
    filter: blur(60px);
    opacity: 0.7;
    z-index: -1; /* Places glow behind the image */
    transform: scale(1.2); /* Makes glow larger than the image */
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-image-container {
    position: relative;
}

#hero .badge.bg-info {
    background-color: var(--aqua-blue) !important;
}

#problem-solution .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ti {
  font-size: 3rem;
  color: var(--aqua-blue);
  transition: color 0.25s ease;
}

.card:hover .ti {
  color: var(--fresh-green);
}

#how-it-works .ti {
    color: var(--fresh-green);
}

.text-primary {
    color: var(--aqua-blue) !important;
}

.card-split {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .card-split {
        grid-template-columns: 1fr 1fr;
    }
}

.card-split-value {
    background-color: var(--primary-navy);
    color: white;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-split-value .ti {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--aqua-blue);
}

.card-split-price {
    background-color: white;
    padding: 2.5rem;
}

.card-split-price .h1 {
    color: var(--coral-orange);
}

.card-split-price .list-unstyled li {
    display: flex;
    align-items: center;
}

.optional-extras-box {
    display: flex;
    justify-content: center;
    background-color: var(--light-grey);
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 600px;
}

.optional-extra-item {
    flex: 1;
    padding: 0 1rem;
}

.optional-extra-item:first-child {
    border-right: 1px solid #dee2e6;
}

.branded-callout {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border-left: 5px solid var(--aqua-blue);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.branded-callout-icon {
    margin-right: 1.5rem;
}

.branded-callout-icon .ti {
    font-size: 2.5rem;
    color: var(--aqua-blue);
}

.branded-callout-content {
    text-align: left;
}

#contact a {
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

.timeline-stepper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline-stepper::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(2rem + 1px); /* Align with icon center */
    bottom: 0;
    width: 2px;
    background-color: var(--light-grey);
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--light-grey);
    z-index: 1;
}

.timeline-icon .ti {
    font-size: 2rem;
    color: var(--primary-navy);
}

.timeline-content {
    padding-left: 4rem;
}



.smart-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6em 1.2em;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smart-badge svg {
    margin-right: 0.5em;
    width: 1.2em;
    height: 1.2em;
}

.bg-light {
    background-color: var(--light-grey) !important;
}

footer {
    background-color: var(--primary-navy);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

footer {
    background-color: var(--primary-navy);
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

footer .fw-bold {
    color: #fff;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

footer .ti {
    color: var(--aqua-blue);
}

/* Blog Styles */
.blog-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-post-header {
    padding-top: 120px; /* Adjust for fixed navbar */
    padding-bottom: 2rem;
    background-color: #f8f9fa;
}

.blog-post .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.blog-post h2 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

