/* ============================================
   Home Page Styles
   Loaded only on / via front-matter `page_css: home`
   ============================================ */

/* Hero banner */
.home-hero.hero-equal-height { min-height: auto; }
.home-hero { padding-top: 90px; padding-bottom: 80px; }
.home-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020c1b 0%, #0a1f44 50%, #133b6b 100%);
    z-index: 0;
}
.home-hero-pattern {
    position: absolute;
    inset: 0;
    background: url('/assets/img/banner.webp') center center / cover no-repeat;
    opacity: 0.16;
    z-index: 1;
}
.home-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 78% 45%, rgba(35, 120, 187, 0.28) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, rgba(6, 40, 100, 0.35) 0%, transparent 50%);
    z-index: 2;
}
.home-hero-content { position: relative; z-index: 3; }
.home-hero-badge {
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}
.home-hero-highlight { color: #6cb6ef; }
.home-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.2rem;
    max-width: 620px;
}
.home-hero-trust span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}
.home-hero-trust i { color: #4aa3e0; margin-right: 6px; }

/* Hero capability cards */
.home-hero-cards { margin-top: 0.5rem; }
.home-hero-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.3rem 1.2rem;
    height: 100%;
    backdrop-filter: blur(6px);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.home-hero-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
}
.home-hero-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(108, 182, 239, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6cb6ef;
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}
.home-hero-card h6 { color: #fff; font-weight: 600; font-size: 0.98rem; margin-bottom: 0.25rem; }
.home-hero-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; margin: 0; }

/* Hero key stats */
.home-hero-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.home-hero-stat {
    flex: 1;
    min-width: 130px;
    padding: 0 1rem;
    position: relative;
}
.home-hero-stat + .home-hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}
.home-hero-stat h3 {
    color: #fff;
    font-weight: 700;
    font-size: 2.3rem;
    margin-bottom: 0.15rem;
    line-height: 1;
}
.home-hero-stat h3 span { color: #6cb6ef; }
.home-hero-stat p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero scroll cue */
.home-hero-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    animation: heroBounce 2s infinite;
    transition: background 0.25s ease;
}
.home-hero-scroll:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 991px) {
    .home-hero-cards { margin-top: 1rem; }
    .home-hero-scroll { display: none; }
}
@media (max-width: 575px) {
    .home-hero-stat { flex: 0 0 50%; min-width: 50%; margin-bottom: 1.2rem; }
    .home-hero-stat:nth-child(odd)::before { display: none; }
    .home-hero-stat h3 { font-size: 1.9rem; }
}
@media (max-width: 575px) {
    .home-hero-card { padding: 1rem 0.9rem; }
    .home-hero-card-icon { width: 40px; height: 40px; font-size: 1.05rem; margin-bottom: 0.7rem; }
    .home-hero-card h6 { font-size: 0.9rem; }
    .home-hero-card p { font-size: 0.76rem; }
    .home-hero-trust { gap: 0.4rem 1rem; }
    .home-hero-trust span { font-size: 0.8rem; }
}


/* AI / ML Spotlight (contained) */
.home-ai-spotlight {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.home-ai-content { padding-left: 1rem; position: relative; z-index: 2; }
.home-ai-content h2 { font-size: 2.4rem; line-height: 1.2; }
.home-ai-content .lead { font-size: 1.08rem; }
.home-ai-badge {
    font-size: 0.78rem;
    font-weight: 500;
    background: #e8f4fd;
    color: #2378bb;
    border: 1px solid #d1ecf9;
}
.home-ai-chip {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.home-ai-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.home-ai-chip-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2378bb, #031974);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-right: 12px;
}
.home-ai-tags { padding-left: 0; }
.home-ai-tags li span {
    display: inline-block;
    font-size: 0.78rem;
    color: #2378bb;
    background: #e8f4fd;
    border: 1px solid #d1ecf9;
    border-radius: 20px;
    padding: 4px 12px;
    margin: 3px 4px 3px 0;
}
.home-ai-img-col { position: relative; z-index: 2; }
.home-ai-img { position: relative; z-index: 2; width: 100%; display: block; }

@media (max-width: 991px) {
    .home-ai-content { padding-left: 15px; }
}





/* Convergence India Expo section */
.home-expo-media { position: relative; padding-bottom: 20px; }
.home-expo-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(3, 25, 116, 0.18);
    object-fit: cover;
}
.home-expo-tag {
    position: absolute;
    bottom: 0;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    font-size: 0.8rem;
    color: #5a6472;
    line-height: 1.3;
}
.home-expo-tag span {
    display: block;
    color: #2378bb;
    font-weight: 700;
    font-size: 0.95rem;
}
.home-expo-badge {
    font-size: 0.78rem;
    font-weight: 500;
    background: #e8f4fd;
    color: #2378bb;
    border: 1px solid #d1ecf9;
}
@media (max-width: 767px) {
    .home-expo-tag { right: 12px; padding: 0.6rem 0.9rem; }
}

/* Industries We Serve grid */
.home-industry-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(3, 25, 116, 0.14);
    border-color: transparent;
}
.home-industry-front {
    padding: 1.6rem 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.home-industry-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.home-industry-name {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2b4a;
}
/* hover back panel */
.home-industry-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem 1rem;
    background: linear-gradient(150deg, #0a1f44 0%, #031974 60%, #2253b8 100%);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.home-industry-back h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
}
.home-industry-back p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.4;
}
.home-industry-card:hover .home-industry-front { opacity: 0; transform: translateY(-12px); }
.home-industry-card:hover .home-industry-back { opacity: 1; transform: translateY(0); }
/* icon color variants */
.ind--blue   { background: #e8f1fd; color: #2378bb; }
.ind--green  { background: #e6f7ee; color: #1e9e5a; }
.ind--teal   { background: #e0f7f4; color: #12a594; }
.ind--orange { background: #fff3e0; color: #f07d0c; }
.ind--purple { background: #f0e8fd; color: #7141d1; }
.ind--red    { background: #fdeaea; color: #dc3545; }
.ind--amber  { background: #fdf6e3; color: #c99400; }
@media (max-width: 575px) {
    .home-industry-card { min-height: 150px; }
    .home-industry-icon { width: 54px; height: 54px; font-size: 1.25rem; }
    .home-industry-name { font-size: 0.85rem; }
    .home-industry-back p { font-size: 0.78rem; }
}


