/* Custom video player play button overlay */
.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.custom-play-btn::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 32px solid #fff;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 8px;
}

.custom-play-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

/* Feature highlight section styles */
.feature-highlight-section {
    background: #2d4660;
    color: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 3rem;
}

.feature-highlight-section h2 {
    color: #fff;
    font-weight: 800;
    letter-spacing: -1px;
}

.feature-highlight-section .fw-semibold {
    color: var(--brand-teal);
}

.feature-highlight-section .bg-white {
    box-shadow: 0 2px 16px rgba(10, 50, 71, 0.08);
}

/* Hero video box styling for centered video under tagline */
.hero-video-box {
    background: #2d4660;
    box-shadow: 0 2px 16px rgba(10, 50, 71, 0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.hero-video-box video {
    border-radius: 1rem;
    background: #000;
}

.hero-video-caption {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 500;
}

/* Make the Bootstrap navbar toggler (burger icon) white on dark header */
.ecov-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}

.ecov-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

:root {
    --brand-gradient: linear-gradient(135deg, #eaf6fb 0%, #fafdff 100%);
    --brand-navy: #0a3247;
    --brand-teal: #5fc2c9;
    --brand-white: #fff;
}

/* Brand accent for text-primary */
.text-primary {
    color: var(--brand-teal) !important;
}

/* Outline primary button for brand consistency */
.btn-outline-primary {
    color: var(--brand-teal);
    border-color: var(--brand-teal);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--brand-teal);
    color: var(--brand-white);
    border-color: var(--brand-teal);
}

.ecov-header {
    background: var(--brand-navy) !important;
    color: var(--brand-white);
    box-shadow: 0 8px 32px -4px rgba(10, 50, 71, 0.18), 0 1.5px 0 rgba(10, 50, 71, 0.08);
}

.ecov-header .navbar-brand img {
    filter: none;
}

.ecov-header .nav-link {
    color: var(--brand-white) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.ecov-header .nav-link:hover {
    color: var(--brand-teal) !important;
}

/* Button and heading color adaptations */
.btn-primary {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-teal);
    border-color: var(--brand-teal);
    color: var(--brand-navy);
}

.btn-outline-secondary {
    color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--brand-navy);
    color: var(--brand-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-navy);
}


.hero-section {
    background: var(--brand-gradient);
    color: var(--brand-navy);
}

.hero-section .lead {
    color: #3a4a57;
}

.card-title {
    font-weight: 600;
}

/* Nice, subtle hover for cards/links */
.card:hover {
    transform: translateY(-2px);
    transition: transform .2s ease;
}

a.btn,
.btn {
    transition: transform .15s ease;
}

a.btn:hover,
.btn:hover {
    transform: translateY(-1px);
}

/* Utility */
.object-fit-cover {
    object-fit: cover;
}

/* Process cards */
.process-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

/* Middle card with brand navy background */
.process-card-primary {
    background-color: var(--brand-teal);
    color: var(--brand-navy);
}

.process-card-primary h5,
.process-card-primary .display-6,
.process-card-primary p {
    color: var(--brand-navy) !important;
}

.process-card-primary:hover {
    background-color: #e0f7fa;
    color: var(--brand-navy);
}

.process-card-primary:hover h5,
.process-card-primary:hover .display-6,
.process-card-primary:hover p {
    color: var(--brand-navy) !important;
}