/* ═══════════════════════════════════════════════════════════
   HOME PAGE — Mobile-first landing
   ═══════════════════════════════════════════════════════════ */

/* ── HERO SECTION ─────────────────────────────────────────── */
.home-hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 568px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a1929;
}

.home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 10, 20, 0.35) 0%,
        rgba(0, 10, 20, 0.50) 40%,
        rgba(0, 10, 20, 0.75) 80%,
        rgba(0, 10, 20, 0.90) 100%
    );
    z-index: 1;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 480px;
    margin-top: -5vh;
}

.home-hero__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
}

.home-hero__title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.75rem;
}

.home-hero__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 1.75rem;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,124,145,0.35);
}

.home-hero__cta:hover,
.home-hero__cta:focus {
    background: var(--accent-dark, #005F6B);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,124,145,0.45);
}

.home-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    animation: scrollHint 2.5s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
    50%      { opacity: 1;   transform: translateX(-50%) translateY(4px); }
}

.home-hero__scroll .chevron {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(4px); }
}

/* ── VALUE PROPS (Why Choose Us) ──────────────────────────── */
.home-values {
    padding: 3rem 0 2rem;
    background: var(--bg);
}

.home-values__scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1rem 1rem;
    scrollbar-width: none;
}

.home-values__scroll::-webkit-scrollbar { display: none; }

.home-values__card {
    flex: 0 0 75%;
    max-width: 280px;
    scroll-snap-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-bs-theme="dark"] .home-values__card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.home-values__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.home-values__icon {
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.home-values__num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.home-values__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.home-values__desc {
    font-size: 0.82rem;
    color: var(--gray-400, #6c757d);
    margin-bottom: 0;
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
.home-services {
    padding: 2rem 0 3rem;
}

.home-services__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.home-services__card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-bs-theme="dark"] .home-services__card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.home-services__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.home-services__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    text-decoration: none;
    color: inherit;
    min-height: 72px;
}

.home-services__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent);
    background: rgba(0,124,145,0.1);
    border-radius: 12px;
}

.home-services__info {
    flex: 1;
    min-width: 0;
}

.home-services__name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.home-services__desc {
    font-size: 0.82rem;
    color: var(--gray-400, #6c757d);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-services__arrow {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-services__card:hover .home-services__arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ── QUICK ENQUIRY ────────────────────────────────────────── */
.home-enquiry {
    padding: 3rem 1rem;
    background: var(--bg-secondary);
}

.home-enquiry__inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.home-enquiry__heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.home-enquiry__sub {
    font-size: 0.9rem;
    color: var(--gray-400, #6c757d);
    margin-bottom: 1.5rem;
}

.home-enquiry__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    margin-bottom: 1rem;
}

.home-enquiry__whatsapp:hover,
.home-enquiry__whatsapp:focus {
    background: #1DA851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37,211,102,0.4);
}

.home-enquiry__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--gray-400, #6c757d);
    font-size: 0.8rem;
}

.home-enquiry__divider::before,
.home-enquiry__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.home-enquiry__form {
    text-align: left;
}

.home-enquiry__form .form-control {
    background: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
}

.home-enquiry__form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,124,145,0.15);
}

.home-enquiry__form .form-control::placeholder {
    color: var(--gray-400, #8a9aaa);
}

.home-enquiry__submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.home-enquiry__submit:hover {
    background: var(--accent-dark, #005F6B);
    transform: translateY(-1px);
}

/* ── FINAL CTA ────────────────────────────────────────────── */
.home-final {
    padding: 3rem 1rem 4rem;
    text-align: center;
    background: var(--bg);
}

.home-final__inner {
    max-width: 400px;
    margin: 0 auto;
}

.home-final__heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.home-final__sub {
    font-size: 0.9rem;
    color: var(--gray-400, #6c757d);
    margin-bottom: 1.5rem;
}

.home-final__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,124,145,0.35);
}

.home-final__btn:hover,
.home-final__btn:focus {
    background: var(--accent-dark, #005F6B);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,124,145,0.45);
}

/* ── FLOATING WHATSAPP BAR ────────────────────────────────── */
.home-wa-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--bg);
    border-top: 1px solid var(--glass-border);
    padding: 0.65rem 1rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.home-wa-bar.visible {
    display: flex;
}

.home-wa-bar__text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.home-wa-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(37,211,102,0.3);
}

.home-wa-bar__btn:hover {
    background: #1DA851;
    color: #fff;
    transform: scale(1.02);
}

/* ── FADE-IN ANIMATION ────────────────────────────────────── */
.home-section {
    /* Visible by default — no JS dependency */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* JS-enabled enhancement: start hidden, fade in on scroll
.home-section.fade-in {
    opacity: 1;
    transform: translateY(20px);
}

.home-section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
*/

/* ── TABLET / DESKTOP TWEAKS ──────────────────────────────── */
@media (min-width: 576px) {
    .home-hero__title {
        font-size: 3.2rem;
    }
    .home-hero__subtitle {
        font-size: 1.1rem;
    }
    .home-values__scroll {
        justify-content: center;
        padding: 0.5rem 2rem 1rem;
    }
    .home-values__card {
        flex: 0 0 220px;
    }
    .home-services__grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .home-services__card {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: 340px;
    }
    .home-enquiry__inner {
        max-width: 420px;
    }
}

@media (min-width: 992px) {
    .home-hero__title {
        font-size: 4rem;
    }
    .home-hero__subtitle {
        font-size: 1.2rem;
    }
    .home-values__scroll {
        gap: 1.5rem;
    }
    .home-values__card {
        flex: 0 0 260px;
        padding: 2rem 1.5rem;
    }
    .home-services__card {
        flex: 0 0 300px;
    }
    .home-wa-bar {
        display: none !important;
    }
}

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .home-hero__scroll,
    .home-hero__scroll .chevron {
        animation: none;
    }
    .home-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}