/* ===== UNIVERSAL STANDARD HERO BACKGROUND - MICROSOFT BUSINESS APPLICATIONS STYLE ===== */
/* This CSS provides ONLY the background elements for service pages */
/* Content/layout styles remain in individual page CSS files */

/* Remove any white space above hero sections and ensure they touch the header */
section[class*="-hero-section"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Universal Hero Content Centering - Works with existing content structures */
section[class*="-hero-section"] > .container,
section[class*="-hero-section"] > .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

section[class*="-hero-section"] > .container > *,
section[class*="-hero-section"] > .container-fluid > * {
    width: 100%;
}

/* ===== MICROSOFT-STYLE PROFESSIONAL BACKGROUND ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Clean Gradient Overlays */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.primary-gradient {
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 0.04) 0%, 
        rgba(29, 78, 216, 0.03) 25%,
        rgba(59, 130, 246, 0.025) 50%,
        rgba(0, 120, 212, 0.03) 75%,
        rgba(29, 78, 216, 0.04) 100%);
    animation: gradientShift 25s ease-in-out infinite;
}

.secondary-gradient {
    background: radial-gradient(ellipse at 30% 40%, 
        rgba(0, 120, 212, 0.05) 0%,
        transparent 70%),
        radial-gradient(ellipse at 70% 60%, 
        rgba(29, 78, 216, 0.04) 0%,
        transparent 70%);
    animation: gradientPulse 30s ease-in-out infinite;
}

/* Geometric Pattern */
.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 120, 212, 0.04) 1px, transparent 0);
    background-size: 50px 50px;
    opacity: 0.7;
    animation: patternShift 40s linear infinite;
}

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes gradientShift {
    0%, 100% { transform: translateX(0%) translateY(0%) rotate(0deg); }
    25% { transform: translateX(3%) translateY(-2%) rotate(1deg); }
    50% { transform: translateX(-2%) translateY(3%) rotate(0deg); }
    75% { transform: translateX(2%) translateY(2%) rotate(-1deg); }
}

@keyframes gradientPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes patternShift {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Slower grid animation */
.geometric-pattern {
    animation: patternShift 120s linear infinite !important;
}

/* ===== MICROSOFT-STYLE GEOMETRIC SHAPES ===== */
.business-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.biz-shape {
    position: absolute;
    border-radius: 50%;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    opacity: 0.8;
}

.biz-shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(29, 78, 216, 0.05));
    top: 15%;
    left: -5%;
    animation: bizFloatShape1 30s ease-in-out infinite;
    animation-delay: 0s;
}

.biz-shape-2 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.04));
    top: 70%;
    left: 12%;
    animation: bizFloatShape2 26s ease-in-out infinite;
    animation-delay: 5s;
}

.biz-shape-3 {
    width: 170px;
    height: 170px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(217, 119, 6, 0.045));
    top: 25%;
    right: -4%;
    animation: bizFloatShape3 34s ease-in-out infinite;
    animation-delay: 2s;
}

.biz-shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.04));
    bottom: 30%;
    right: 18%;
    animation: bizFloatShape4 28s ease-in-out infinite;
    animation-delay: 7s;
}

.biz-shape-5 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(147, 51, 234, 0.05));
    bottom: 15%;
    left: 25%;
    animation: bizFloatShape5 24s ease-in-out infinite;
    animation-delay: 3s;
}

/* ===== MICROSOFT BRAND SQUARES ===== */
.microsoft-squares {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.ms-square {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.9;
    animation: msSquareFloat 20s ease-in-out infinite;
}

.ms-square-red {
    background: #F25022;
    top: 35%;
    right: 28%;
    animation-delay: 0s;
}

.ms-square-green {
    background: #7FBA00;
    top: 65%;
    left: 28%;
    animation-delay: 6s;
}

.ms-square-blue {
    background: #00BCF2;
    bottom: 45%;
    right: 32%;
    animation-delay: 3s;
}

.ms-square-yellow {
    background: #FFB900;
    top: 55%;
    left: 22%;
    animation-delay: 9s;
}

/* ===== BREADCRUMB HEADER BAR ===== */
.business-header-bar,
.automation-header-bar,
.training-header-bar,
.ai-header-bar,
.managed-header-bar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 20;
}

.dashboard-breadcrumb {
    margin: 0;
}

.dashboard-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
}

.dashboard-breadcrumb .breadcrumb-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.dashboard-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.dashboard-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.dashboard-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

.dashboard-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* ===== SHAPE ANIMATION KEYFRAMES ===== */
@keyframes bizFloatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.8; }
    25% { transform: translate(30px, -40px) rotate(90deg) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-25px, -30px) rotate(180deg) scale(0.9); opacity: 0.9; }
    75% { transform: translate(35px, 20px) rotate(270deg) scale(1.15); opacity: 0.7; }
}

@keyframes bizFloatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.7; }
    33% { transform: translate(-35px, 30px) rotate(120deg) scale(1.3); opacity: 0.9; }
    66% { transform: translate(40px, -25px) rotate(240deg) scale(0.8); opacity: 0.8; }
}

@keyframes bizFloatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.6; }
    20% { transform: translate(-40px, 35px) rotate(72deg) scale(1.15); opacity: 0.8; }
    40% { transform: translate(30px, -45px) rotate(144deg) scale(0.85); opacity: 0.7; }
    60% { transform: translate(-20px, 40px) rotate(216deg) scale(1.25); opacity: 0.9; }
    80% { transform: translate(45px, -30px) rotate(288deg) scale(0.8); opacity: 0.5; }
}

@keyframes bizFloatShape4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.8; }
    30% { transform: translate(35px, -30px) rotate(108deg) scale(1.2); opacity: 0.6; }
    60% { transform: translate(-30px, 35px) rotate(216deg) scale(0.85); opacity: 0.95; }
}

@keyframes bizFloatShape5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.7; }
    40% { transform: translate(-25px, -35px) rotate(144deg) scale(1.25); opacity: 0.9; }
    80% { transform: translate(30px, 25px) rotate(288deg) scale(0.75); opacity: 0.6; }
}

@keyframes msSquareFloat {
    0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); opacity: 0.9; }
    25% { transform: translateY(-20px) scale(1.2) rotate(90deg); opacity: 1; }
    50% { transform: translateY(-15px) scale(0.9) rotate(180deg); opacity: 0.7; }
    75% { transform: translateY(-25px) scale(1.1) rotate(270deg); opacity: 0.95; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .business-shapes,
    .microsoft-squares {
        display: none;
    }
    
    .geometric-pattern {
        display: none;
    }
    
    .primary-gradient,
    .secondary-gradient {
        animation: none;
    }
    
    .business-header-bar {
        padding: 1rem;
    }
    
    .dashboard-breadcrumb .breadcrumb {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}