/* ==========================================================================
   HRMS REDESIGNED STYLESHEET (hrms_ui.css)
   Inspired by Keka & Zoho People Aesthetics
   ========================================================================== */

:root {
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --primary-light: #EEF2FF;
    --accent: #F59E0B;
    --accent-light: #FFFBEB;
    --dark-bg: #0F172A;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-soft: #F8FAFC;
    --border-color: #E2E8F0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #FFFFFF;
}

/* ====================================
   HERO SECTION
==================================== */
.hrms-hero {
    position: relative;
    padding: 100px 0 90px;
    /* Ultra-sleek Charcoal & Deep Slate Gradient */
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F172A 100%);
    color: white;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    width: 600px;
    height: 600px;
    background: #4F46E5;
    filter: blur(160px);
    opacity: 0.25;
    top: -200px;
    left: -150px;
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 28px;
    font-size: 14px;
}

.tag-pill {
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.hero-main-heading {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-headline {
    background: linear-gradient(90deg, #818CF8, #F59E0B, #F43F5E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub-text {
    font-size: 19px;
    line-height: 1.6;
    color: #CBD5E1;
    max-width: 820px;
    margin: 0 auto 40px;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary-cta {
    background: linear-gradient(135deg, var(--accent), #FBBF24);
    color: #000;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-cta:hover {
    transform: translateY(-3px);
    color: #000;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
}

.btn-secondary-cta {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    color: white;
}

/* HERO CENTER SHOWCASE & FLOATING CARDS */
.hero-showcase-container {
    position: relative;
    max-width: 1040px;
    margin: 40px auto;
    padding: 30px 0;
}

.hero-center-img-wrapper {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.hero-center-img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

/* Floating Cards Styling */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    color: #1E293B;
    padding: 14px 20px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 280px;
    text-align: left;
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.float-card h6 {
    font-size: 14px;
    font-weight: 800;
    margin: 0;
}

.float-card small {
    font-size: 12px;
    color: #64748B;
    line-height: 1.3;
    display: block;
}

.float-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.float-icon-box.blue { background: #EFF6FF; color: #3B82F6; }
.float-icon-box.purple { background: #F5F3FF; color: #8B5CF6; }
.float-icon-box.green { background: #ECFDF5; color: #10B981; }
.float-icon-box.amber { background: #FFFBEB; color: #F59E0B; }

.float-top-left { top: 0; left: 0; }
.float-top-right { top: 0; right: 0; }
.float-bottom-left { bottom: 20px; left: 0; animation-delay: 1s; }
.float-bottom-right { bottom: 20px; right: 0; animation-delay: 1s; }

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

/* ====================================
   DARK THEME "BUILT FOR YOUR PEOPLE"
==================================== */
.bg-dark-theme {
    background-color: #121212 !important;
}

.dark-feature-card {
    background: #1E1E1E;
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid #2A2A2A;
    height: 100%;
    transition: transform 0.3s ease;
}

.dark-feature-card:hover {
    transform: translateY(-6px);
    border-color: #3B82F6;
}

.dark-card-icon {
    font-size: 28px;
    margin-bottom: 20px;
}

.dark-card-icon.blue { color: #3B82F6; }
.dark-card-icon.indigo { color: #6366F1; }
.dark-card-icon.green { color: #10B981; }

.dark-feature-card h5 {
    font-size: 17px;
    font-weight: 500;
    color: #E2E8F0;
    line-height: 1.6;
}

/* ====================================
   UNIFIED PLATFORM BANNER (HIGH CONTRAST TEXT FIX)
==================================== */
.ai-banner-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.ai-banner-box h2 {
    color: #FFFFFF !important;
}

.ai-banner-box p.text-light-muted {
    color: #E2E8F0 !important; /* Crisp visible white text */
    opacity: 0.95;
    font-size: 16px;
    line-height: 1.7;
}

.ai-screen-glow img {
    border: 2px solid #3B82F6;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

/* ====================================
   CLIENT LOGO SLIDER
==================================== */
.trusted-slider-section {
    padding: 40px 0;
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    overflow: hidden;
}

.slider-heading-text {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.imgSlider {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: logoScroll 25s linear infinite;
}

.img-holder {
    width: 200px;
    height: 90px;
    background: white;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.img-holder img {
    max-width: 70%;
    max-height: 60%;
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====================================
   STICKY NAV
==================================== */
.sticky-navigation-bar {
    position: sticky;
    top: 0;
    z-index: 990;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.sticky-nav-item {
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
}

.sticky-nav-item:hover, .sticky-nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

/* ====================================
   SECTION TITLES & PADDING
==================================== */
.section-padding {
    padding: 90px 0;
}

.bg-soft-gray {
    background-color: var(--bg-soft);
}

.sub-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ====================================
   AT A GLANCE TOPIC SWITCHER
==================================== */
.topic-list-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.topic-item i {
    font-size: 22px;
    color: var(--primary);
}

.topic-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.topic-item small {
    color: var(--text-muted);
}

.topic-item.active, .topic-item:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.12);
    transform: translateX(6px);
}

.glance-display-box {
    background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.badge-pill-green {
    display: inline-block;
    background: #ECFDF5;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
}

.display-heading {
    font-size: 26px;
    font-weight: 800;
}

.display-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.highlight-check-item {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ====================================
   MODULE SHOWCASE (IMAGE DRIVEN)
==================================== */
.module-mini-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.module-heading {
    font-size: 34px;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 16px;
}

.module-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

.module-img-card img {
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease;
}

.module-img-card:hover img {
    transform: scale(1.02);
}

/* ====================================
   ENTERPRISE WORKFLOW CARDS
==================================== */
.enterprise-card-box {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 34px 28px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    transition: all 0.35s ease;
}

.enterprise-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.3);
}

.ent-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.ent-icon-badge.purple { background: #F5F3FF; color: #8B5CF6; }
.ent-icon-badge.amber { background: #FFFBEB; color: #F59E0B; }
.ent-icon-badge.green { background: #ECFDF5; color: #10B981; }

.enterprise-card-box h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.enterprise-card-box p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ent-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ent-check-list li {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ====================================
   FEATURE CARDS
==================================== */
.feature-card-item {
    background: white;
    border-radius: 20px;
    padding: 34px 26px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.35s ease;
    height: 100%;
}

.feature-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.3);
}

.feat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.feat-icon-box.purple { background: #F5F3FF; color: #8B5CF6; }
.feat-icon-box.amber { background: #FFFBEB; color: #F59E0B; }
.feat-icon-box.green { background: #ECFDF5; color: #10B981; }
.feat-icon-box.blue { background: #EFF6FF; color: #3B82F6; }
.feat-icon-box.rose { background: #FFF1F2; color: #F43F5E; }
.feat-icon-box.teal { background: #F0FDFA; color: #14B8A6; }

.feature-card-item h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feat-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

/* ====================================
   INDUSTRY CARDS
==================================== */
.industry-card-item {
    background: white;
    border-radius: 20px;
    padding: 24px 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.35s ease;
}

.ind-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.4s ease;
}

.industry-card-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

.industry-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.industry-card-item:hover .ind-icon-circle {
    transform: scale(1.1) rotate(360deg);
}

/* ==========================================================
   KEKA-STYLE CAPABILITIES WITH BLURRED PEXELS BACKGROUNDS
   ========================================================== */
.capability-keka-card {
    position: relative;
    border-radius: 28px;
    padding: 36px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.35s ease;
}

.capability-keka-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.45);
    transform: scale(1.1);
    z-index: 1;
}

.cap-card-header, .cap-card-img-holder {
    position: relative;
    z-index: 2;
}

/* 01. Visual Analytics - Leaves & Nature */
.cap-bg-sky::before {
    background-image: url('https://images.pexels.com/photos/1072179/pexels-photo-1072179.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') !important;
}

/* 02. Shifts & Rotations - Mountain Landscape */
.cap-bg-forest::before {
    background-image: url('https://images.pexels.com/photos/417074/pexels-photo-417074.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') !important;
}

/* 03. Geofence Attendance - City Skyline Dusk */
.cap-bg-sunset::before {
    background-image: url('https://images.pexels.com/photos/374870/pexels-photo-374870.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') !important;
}

/* 04. Leaves & Balances - Outdoor Forest View */
.cap-bg-mountain::before {
    background-image: url('https://images.pexels.com/photos/167699/pexels-photo-167699.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') !important;
}

/* 05. Payroll & Compensation - Night City Lights */
.capability-keka-card.cap-bg-dark::before,
.cap-bg-city::before {
    background-image: url('https://images.pexels.com/photos/1519088/pexels-photo-1519088.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') !important;
}

.capability-keka-card:hover {
    transform: translateY(-6px);
}

.cap-num-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #F59E0B;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    backdrop-filter: blur(6px);
}

.cap-card-header h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #FFFFFF !important;
}

.cap-card-header p {
    font-size: 15px;
    color: #E2E8F0 !important;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cap-card-img-holder img {
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 100%;
    transition: transform 0.4s ease;
}

.capability-keka-card:hover .cap-card-img-holder img {
    transform: scale(1.02);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-main-heading { font-size: 38px; }
    .float-card {
        position: relative !important;
        top: auto !important; bottom: auto !important;
        left: auto !important; right: auto !important;
        max-width: 100% !important;
        margin-bottom: 12px;
    }
}
