﻿/* -> Home -> Index */

.slide-navigation { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 991.98px) {
    .slide-navigation { display: none; } 
}
.slide-nav-item { display: flex; align-items: center; gap: 8px; cursor: pointer; transition: all 0.2s ease; padding: 2px 5px 2px 15px; position: relative; min-width: 40px; justify-content: flex-end; }
.slide-nav-indicator    { width: 3px; height: 16px; background: rgba(255, 255, 255, 0.4); transition: all 0.2s ease; border-radius: 3px; }
.slide-nav-title{ color: #fff; font-size: 11px; font-weight: 500; letter-spacing: 0.3px; white-space: nowrap; text-transform: uppercase; padding: 3px 10px; background: rgba(255, 255, 255, 0.15);
                  backdrop-filter: blur(8px); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.2); opacity: 0; transform: translateX(12px); transition: all 0.2s ease; }
.slide-nav-item.active .slide-nav-indicator { height: 22px; width: 4px; background: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); }
.slide-nav-item:hover   { transform: translateX(-2px); }
.slide-nav-item:hover .slide-nav-title { opacity: 1; transform: translateX(0); }
.slide-nav-item:hover .slide-nav-indicator { height: 19px; background: rgba(255, 255, 255, 0.9); }
.slide-nav-item .slide-nav-title.title-visible { opacity: 1; transform: translateX(0); }

/* ── Variables ───────────────────────────────────────── */
:root {
    --navbar-h: 70px;
    --slide-pad: 60px;
}

/* ── Hero — FIXED height, not min ───────────────────── */
#slide-hero { position: relative; height: 100vh; height: 100dvh; width: 100%; overflow: hidden; contain: layout style; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-dot-overlay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 1; }

/* Mobile: bottom-to-top + diagonal */
.hero-color-panel { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient( to top, rgba(5,12,28,0.95) 0%, rgba(5,12,28,0.70) 30%, rgba(5,12,28,0.20) 65%, transparent 100% ), linear-gradient( 135deg, rgba(5,12,28,0.60) 0%, transparent 60% ); }

@media (min-width: 992px) {
    .hero-color-panel { background: linear-gradient( to right, rgba(5,12,28,0.90) 0%, rgba(5,12,28,0.62) 42%, rgba(5,12,28,0.10) 72%, transparent 100% ), linear-gradient( to top, rgba(5,12,28,0.80) 0%, transparent 50% ); }
}

.hero-slide-item { position: absolute; inset: 0; opacity: 0; pointer-events: none; height:100%; overflow:hidden; transition: opacity 0.9s ease; }
.hero-slide-item.active { opacity: 1; pointer-events: auto; }
.hero-content-area { position: relative; z-index: 5; height: 100%; display: flex; align-items: flex-end; padding-top: var(--navbar-h); padding-bottom: 130px; }

@media (min-width: 992px) {
    .hero-content-area { align-items: center; padding-bottom: 120px; }
}

/* Text animations */
.hero-line { display: block; width: 0; height: 3px; background: #1565c0; margin-bottom: 16px; transition: width 0.55s ease 0.1s; }
.hero-slide-item.active .hero-line { width: 52px; }
.hero-animate { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.hero-slide-item.active .anim-1 { opacity: 1; transform: none; transition-delay: 0.15s; }
.hero-slide-item.active .anim-2 { opacity: 1; transform: none; transition-delay: 0.28s; }
.hero-slide-item.active .anim-3 { opacity: 1; transform: none; transition-delay: 0.41s; }
.hero-slide-item.active .anim-4 { opacity: 1; transform: none; transition-delay: 0.54s; }
.hero-cat-lbl { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #90caf9; }
.hero-headline { font-size: clamp(1.7rem, 3.8vw, 3rem); font-weight: 800; color: #fff; line-height: 1.15; text-shadow: 0 2px 24px rgba(0,0,0,0.65); }
.hero-detail { font-size: 15px; color: rgba(255,255,255,0.80); line-height: 1.75; max-width: 480px; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.hero-btn-solid { background: #1565c0; color: #fff !important; border: none; border-radius: 4px; padding: 11px 24px; font-size: 13px; font-weight: 600;
                  text-decoration: none !important; transition: background 0.2s, transform 0.2s; display: inline-block; }
.hero-btn-solid:hover { background: #1976d2; transform: translateY(-1px); }
.hero-btn-ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 4px; padding: 10px 22px; font-size: 13px;
                  font-weight: 500; text-decoration: none !important; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.hero-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Controls — fixed viewport bottom ───────────────── */
.hero-controls { position: absolute; bottom: 20px; left: 0; right: 80px; z-index: 10; padding: 0 24px 0 48px; }
.hero-controls.visible { opacity: 1; pointer-events: auto; }
@media (min-width: 576px) {
    .hero-controls { padding: 0 32px 0 48px; }
}

@media (max-width: 575px) {
    .hero-controls { padding: 0 16px; right: 70px; bottom: 16px; }
}

.hc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.h-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35); background: transparent; color: rgba(255,255,255,0.75);
           display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; flex-shrink: 0;
           transition: border-color 0.2s, color 0.2s, background 0.2s; }
.h-arrow:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.12); }
.h-counter { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.h-counter strong { color: #fff; }
.hc-inds { display: flex; gap: 8px; align-items: flex-end; }
.h-ind { cursor: pointer; display: flex; flex-direction: column; gap: 4px; flex: 1; max-width: 140px; min-width: 28px; opacity: 0.4; transition: opacity 0.2s; }
.h-ind:hover { opacity: 0.7; }
.h-ind.active { opacity: 1; }
.h-ind-lbl { font-size: 9px; color: rgba(255,255,255,0.8); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
             display: none; }

@media (min-width: 768px) {
    .h-ind-lbl { display: block; }
}

.h-ind-track { height: 2px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; }
.h-ind.active .h-ind-track { height: 3px; background: rgba(255,255,255,0.3); }
.h-ind-fill { height: 100%; background: #fff; border-radius: 2px; width: 0%; transition: width 0.07s linear; }

/* ── All other slide-sections ────────────────────────── */
.card { background-color: var(--bs-card-bg_) !important }
.slide-container .slide-section:not(#slide-hero) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--navbar-h) + 40px) !important;
                                                   padding-bottom: 60px !important; }

/* Container to obtain full width */
.slide-section:not(#slide-hero) > .container { width: 100%; }

/* ── Section header style ────────────────────────────── */
.sec-eye { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #1565c0; }
.sec-heading { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.sec-desc { font-size: 16px; color: var(--bs-secondary-color); }

/* ── Scroll-reveal animation for non-hero sections ───── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── Fact card ───────────────────────────────────────── */

.fact-card { background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%); border-radius: 12px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }

/* ── Solution / brand cards ──────────────────────────── */
.sc-wrap { position: relative; overflow: hidden; border-radius: 12px; min-height: 280px; display: flex; align-items: flex-end; text-decoration: none !important; }
.sc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.sc-wrap:hover .sc-bg { transform: scale(1.04); } 
.sc-ov { position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,.6) 40%, transparent 70%, rgba(0,0,0,.7) 100%) }
.sc-ov-hover { transition: background 0.3s; }
.sc-ov_brands { position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,.6) 40%, transparent 70%, rgba(0,0,0,.7) 100%) }
.sc-wrap:hover .sc-ov_brands-hover { background: linear-gradient(to bottom right, #1336a8 0%, rgba(0,0,0,.6) 45%, transparent 70%, rgba(0,0,0,.7) 100%) }
.sc-cnt { position: relative; z-index: 2; padding: 22px; width: 100%; }

/* ── Stats ───────────────────────────────────────────── */
.stats-bg { background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%); }
.stat-num { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: #90caf9; line-height: 1; }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }

/* ── Why / CTA ───────────────────────────────────────── */
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px; border-radius: 10px; transition: background 0.2s; }
.why-item:hover { background: var(--bs-secondary-bg); }
.why-icon { width: 42px; height: 42px; background: rgba(21,101,192,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #1565c0; 
            font-size: 1.1rem; flex-shrink: 0; }
.cta-band { background: linear-gradient(135deg, #0d1b2a 0%, #1565c0 100%); }

/* ── Project card ────────────────────────────────────── */
.proj-card { border-radius: 12px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(21,101,192,0.12) !important; }