.home-page {
    background-color: #fff;
}

.home-nav {
    border-bottom: 1px solid #e9ecef;
}

.home-nav .navbar-brand {
    font-size: 1.44rem;
    max-width: none;
}

.home-nav .navbar-brand .brand-icon {
    height: 28px;
}

.home-nav .brand-find {
    color: var(--brand-blue, #1E5BBF);
}

.home-nav .brand-list {
    color: var(--brand-green, #27AE60);
}

.home-nav .brand-wordmark {
    color: var(--brand-text, #1F2937);
    font-size: 1.2rem;
}

.home-nav .btn-outline-success {
    color: #27AE60 !important;
    border: 2px solid #27AE60 !important;
    font-weight: 600;
}

.home-nav .btn-outline-success:hover {
    background-color: #27AE60 !important;
    color: #fff !important;
}

.home-nav .nav-link {
    font-weight: 500;
    color: #444;
    padding: 0.5rem 1rem;
}

.home-nav .nav-link:hover {
    color: var(--brand-blue, #1E5BBF);
}

.home-nav .btn-primary {
    background-color: var(--brand-blue, #1E5BBF);
    border-color: var(--brand-blue, #1E5BBF);
}

.home-nav .btn-primary:hover {
    background-color: #174da6;
    border-color: #174da6;
}

.home-nav .btn-outline-primary {
    color: var(--brand-blue, #1E5BBF);
    border-color: var(--brand-blue, #1E5BBF);
}

.home-nav .btn-outline-primary:hover {
    background-color: var(--brand-blue, #1E5BBF);
    border-color: var(--brand-blue, #1E5BBF);
    color: #fff;
}

.hero-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #F5F7FA 50%, #f0f8f0 100%);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-title {
    line-height: 1.2;
    color: var(--brand-text, #1F2937);
}

.hero-title .text-green {
    color: var(--brand-green, #27AE60);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-img {
    max-width: 520px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.min-vh-75 {
    min-height: 70vh;
}

.feature-card {
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 91, 191, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue, #1E5BBF) 0%, var(--brand-accent-blue, #2F80ED) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
}

.feature-icon.green {
    background: linear-gradient(135deg, var(--brand-green, #27AE60) 0%, #2ecc71 100%);
}

.cta-banner-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.cta-banner {
    background: linear-gradient(135deg, #e8f0fe 0%, #e0f5e9 100%);
    border: 1px solid #bfdbfe;
}

.why-card {
    background: #f8f9ff;
    border-radius: 1rem;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 91, 191, 0.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--brand-blue, #1E5BBF) 0%, var(--brand-accent-blue, #2F80ED) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
}

.why-icon.green {
    background: linear-gradient(135deg, var(--brand-green, #27AE60) 0%, #2ecc71 100%);
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 1rem;
    border: 1px solid #e9ecef;
}

.testimonial-text {
    line-height: 1.8;
    color: #333;
}

.testimonial-avatar {
    font-size: 2.5rem;
    color: var(--brand-blue, #1E5BBF);
}

.platform-badges .badge {
    font-size: 0.85rem;
    font-weight: 500;
}

.final-cta {
    background: linear-gradient(135deg, var(--brand-blue, #1E5BBF) 0%, var(--brand-accent-blue, #2F80ED) 50%, var(--brand-green, #27AE60) 100%);
    padding: 4rem 0;
}

.final-cta .btn-light {
    color: var(--brand-blue, #1E5BBF);
}

.final-cta .btn-light:hover {
    color: #fff;
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 0.5rem;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .hero-img {
        max-width: 80vw;
        width: 80vw;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .min-vh-75 {
        min-height: auto;
    }
}

.video-showcase {
    padding-bottom: 1rem;
}

.video-thumb-link {
    text-decoration: none;
    color: inherit;
}

.video-thumb-card {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-thumb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 91, 191, 0.15);
}

.video-thumb-wrapper {
    position: relative;
    overflow: hidden;
}

.video-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-thumb-card:hover .video-play-overlay {
    opacity: 1;
}

.video-play-overlay i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.video-thumb-title {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-placeholder-card {
    max-width: 300px;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 1rem;
    border: 2px dashed #bfdbfe;
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-img {
        max-width: 90vw;
        width: 90vw;
    }

    .final-cta {
        padding: 2.5rem 0;
    }

    .final-cta h2 {
        font-size: 1.5rem;
    }

    .video-play-overlay i {
        font-size: 2rem;
    }

    .video-thumb-title {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .home-nav .navbar-brand .brand-icon {
        height: 22px;
    }

    .home-nav .brand-wordmark {
        font-size: 1rem;
    }
}

/* HARD LOCK header background so nothing overrides it */
.home-nav.navbar {
  background: #ffffff !important;
  background-image: none !important;
}

/* Brand icon sizing */
.home-nav .navbar-brand .brand-icon {
  height: 32px;
  width: auto;
}

/* Make nav links readable */
.home-nav .navbar-nav .nav-link {
  color: #1F2937 !important;
  font-weight: 600;
  opacity: 1 !important;
}

.home-nav .navbar-nav .nav-link:hover,
.home-nav .navbar-nav .nav-link:focus {
  color: #1E5BBF !important;
}

/* Wordmark */
.home-nav .brand-wordmark {
  color: #1F2937;
  font-size: 1.2rem;
  font-weight: 800;
}

.home-nav .brand-find { color: #1E5BBF; }
.home-nav .brand-list { color: #27AE60; }

/* Sign In = secondary (blue outline) */
.home-nav .btn-signin {
  border: 2px solid #1E5BBF !important;
  color: #1E5BBF !important;
  font-weight: 700;
}

.home-nav .btn-signin:hover {
  background: rgba(30, 91, 191, 0.10) !important;
  color: #1E5BBF !important;
}

/* Sign Up = primary (green solid) */
.home-nav .btn-signup {
  background: #27AE60 !important;
  border: 2px solid #27AE60 !important;
  color: #ffffff !important;
  font-weight: 800;
}

.home-nav .btn-signup:hover {
  filter: brightness(0.95);
}
