/* =========================================
   Homepage Redesign Styles
   Theme: Unified Portal / SaaS Blue
   ========================================= */

:root {
    --home-primary: #0586FE;
    --home-secondary: #00d4ff;
    --home-dark: #202124;
    --home-light: #f8f9fb;
    --home-text-dark: #1a1a1a;
    --home-text-light: #666666;
}

/* Base Utilities */
.home-section-padding {
    padding: 100px 0;
}



.home-bg-gray {
    background-color: var(--home-dark);
    color: #fff;
}

.home-bg-gray h2 {
    color: #fff;
}

.home-bg-gray .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}





/* =========================================
   Module 3: Core Business Matrix
   ========================================= */
.home-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.home-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 134, 254, 0.1);
    border-color: rgba(5, 134, 254, 0.3);
}

.home-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(5, 134, 254, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--home-primary);
    transition: 0.3s;
}

.home-service-card:hover .home-service-icon {
    background: var(--home-primary);
    color: #fff;
    transform: scale(1.1);
}

.home-service-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--home-text-dark);
}

.home-service-desc {
    color: var(--home-text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.home-service-link {
    color: var(--home-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.home-service-link i {
    margin-left: 5px;
    transition: 0.3s;
}

.home-service-link:hover i {
    transform: translateX(5px);
}

/* Dark Mode Overrides for Service Cards */
.home-bg-gray .home-service-card {
    background: #2b2d31;
    /* Slightly lighter than section bg */
    border-color: rgba(255, 255, 255, 0.1);
}

.home-bg-gray .home-service-card .home-service-title {
    color: #fff;
}

.home-bg-gray .home-service-card .home-service-desc {
    color: rgba(255, 255, 255, 0.7);
}

.home-bg-gray .home-service-card .home-service-icon {
    background: rgba(255, 255, 255, 0.05);
}

.home-bg-gray .home-service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--home-primary);
    background: #32353a;
}

.home-bg-gray .home-service-card:hover .home-service-icon {
    background: var(--home-primary);
    color: #fff;
}

/* =========================================
   Module 4: Platform Advantages
   ========================================= */
.home-platform-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.home-platform-section h2 {
    color: var(--home-text-dark);
}


.home-adv-item {
    display: flex;
    margin-bottom: 40px;
}

.home-adv-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0586FE 0%, #00d4ff 100%);
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 25px;
    box-shadow: 0 10px 20px rgba(5, 134, 254, 0.2);
}

.home-adv-content h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--home-text-dark);
}

.home-adv-content p {
    color: var(--home-text-light);
    line-height: 1.6;
}

/* =========================================
   Module 5: Unified CTA
   ========================================= */
.home-cta-section {
    background: #0f1012;
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.home-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 134, 254, 0.2) 0%, transparent 70%);
}

.home-cta-content {
    position: relative;
    z-index: 2;
}

.home-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.customer-btn-two {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.customer-btn-two:hover {
    background: #fff;
    color: var(--home-primary);
    border-color: #fff;
}