/* ===== UNIVERSAL DARK BLUE HERO SECTIONS ===== */
/* For Project Operations, Automation Analytics, Training Support, Managed Services */

.project-ops-hero-section,
.automation-analytics-hero-section,
.training-support-hero-section,
.managed-services-hero-section {
    min-height: 70vh;
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: #0A1F44 !important;
}

/* Universal Animated Backgrounds */
.project-animated-bg,
.automation-animated-bg,
.training-animated-bg,
.managed-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Project Operations - Purple/Blue Theme */
.project-gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1F44 0%, #1e3a8a 25%, #3730a3 50%, #5b21b6 75%, #0A1F44 100%);
    background-size: 400% 400%;
    animation: projectGradientShift 17s ease infinite;
}

@keyframes projectGradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Automation Analytics - Orange/Blue Theme */
.automation-gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1F44 0%, #1e40af 25%, #f59e0b 50%, #ea580c 75%, #0A1F44 100%);
    background-size: 400% 400%;
    animation: automationGradientShift 15s ease infinite;
}

@keyframes automationGradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Training Support - Green/Blue Theme */
.training-gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1F44 0%, #1e40af 25%, #059669 50%, #10b981 75%, #0A1F44 100%);
    background-size: 400% 400%;
    animation: trainingGradientShift 14s ease infinite;
}

@keyframes trainingGradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Managed Services - Cyan/Blue Theme */
.managed-gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1F44 0%, #1e40af 25%, #0891b2 50%, #06b6d4 75%, #0A1F44 100%);
    background-size: 400% 400%;
    animation: managedGradientShift 19s ease infinite;
}

@keyframes managedGradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Universal Particle Layers */
.project-timeline-layer,
.automation-data-layer,
.training-knowledge-layer,
.managed-cloud-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.15) 2px, transparent 3px),
        radial-gradient(circle at 75% 75%, rgba(30, 64, 175, 0.12) 2px, transparent 3px),
        radial-gradient(circle at 50% 30%, rgba(30, 58, 138, 0.1) 2px, transparent 3px),
        radial-gradient(circle at 30% 70%, rgba(10, 31, 68, 0.08) 2px, transparent 3px);
    background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px;
    animation: universalPulse 14s ease-in-out infinite;
}

@keyframes universalPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Universal Flow Layers */
.project-gantt-layer,
.automation-flow-layer,
.training-learning-layer,
.managed-data-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(59, 130, 246, 0.1) 48%, rgba(59, 130, 246, 0.2) 50%, rgba(59, 130, 246, 0.1) 52%, transparent 55%),
        linear-gradient(-45deg, transparent 40%, rgba(30, 64, 175, 0.08) 47%, rgba(30, 64, 175, 0.15) 50%, rgba(30, 64, 175, 0.08) 53%, transparent 60%);
    background-size: 300% 300%, 250% 250%;
    animation: universalFlow 18s linear infinite, universalFlow2 22s linear infinite reverse;
}

@keyframes universalFlow {
    0% { background-position: -100% -100%, 200% 200%; }
    100% { background-position: 200% 200%, -100% -100%; }
}

@keyframes universalFlow2 {
    0% { background-position: 200% 0%, -100% 100%; }
    100% { background-position: -100% 200%, 200% -100%; }
}

/* Universal Glow Layers */
.project-resource-layer,
.automation-analytics-layer,
.training-support-layer,
.managed-server-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 64, 175, 0.1) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 20%, rgba(30, 58, 138, 0.08) 0%, transparent 40%);
    animation: universalGlow 12s ease-in-out infinite;
}

@keyframes universalGlow {
    0%, 100% { opacity: 0.6; transform: rotate(0deg); }
    50% { opacity: 1; transform: rotate(2deg); }
}

/* ===== UNIVERSAL HERO CONTENT ===== */
.project-hero-content,
.automation-hero-content,
.training-hero-content,
.managed-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    text-align: left;
}

.hero-left-content {
    flex: 1;
    max-width: 550px;
}

/* Universal Breadcrumb */
.hero-breadcrumb {
    margin-bottom: 20px;
}

.hero-breadcrumb .breadcrumb {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 25px;
    padding: 8px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: #3b82f6;
}

.hero-breadcrumb .breadcrumb-item.active {
}

/* Universal Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.2));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    animation: universalBadgeGlow 4s ease-in-out infinite alternate;
}

@keyframes universalBadgeGlow {
    0% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    100% { box-shadow: 0 0 30px rgba(30, 64, 175, 0.5); }
}

.hero-badge i {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Universal Title */
.hero-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: universalTitleGlow 5s ease-in-out infinite alternate;
}

@keyframes universalTitleGlow {
    0% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.2); }
    100% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(30, 64, 175, 0.4); }
}

.text-gradient {
    background: linear-gradient(45deg, #3b82f6, #1e40af, #1e3a8a, #0f172a);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #3b82f6;
    font-weight: 800;
    animation: universalGradientText 6s ease infinite;
}

@keyframes universalGradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Universal Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: universalSubtitleFade 7s ease-in-out infinite alternate;
}

@keyframes universalSubtitleFade {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* Universal CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta-group .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    animation: universalButtonPulse 3s ease-in-out infinite;
}

@keyframes universalButtonPulse {
    0%, 100% { box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(30, 64, 175, 0.7); }
}

.hero-cta-group .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.8);
}

.hero-cta-group .btn-secondary {
    background: transparent;
    color: #60a5fa;
    border: 2px solid #60a5fa;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.hero-cta-group .btn-secondary:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.5);
}

/* Universal Right Content */
.hero-right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    animation: universalImageFloat 12s ease-in-out infinite;
}

@keyframes universalImageFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-25px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-30px) rotate(-1deg); }
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.3);
    animation: universalImageShadow 6s ease-in-out infinite alternate;
}

@keyframes universalImageShadow {
    0% { 
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(59, 130, 246, 0.3);
    }
    100% { 
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(30, 64, 175, 0.5);
    }
}

/* Universal Image Overlay */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 60% 40%, rgba(30, 58, 138, 0.1) 0%, transparent 20%);
    border-radius: 25px;
    animation: universalOverlay 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes universalOverlay {
    0%, 100% { opacity: 0.6; transform: rotate(0deg); }
    33% { opacity: 1; transform: rotate(2deg); }
    66% { opacity: 0.8; transform: rotate(-1deg); }
}

/* Override existing styles for dark blue theme */
.project-ops-hero-section .hero-content-container,
.automation-analytics-hero-section .hero-content-container,
.training-support-hero-section .hero-content-container,
.managed-services-hero-section .hero-content-container {
    padding: 3rem 2rem;
}

.project-ops-hero-section .hero-main-title,
.automation-analytics-hero-section .hero-main-title,
.training-support-hero-section .hero-main-title,
.managed-services-hero-section .hero-main-title {
    color: white !important;
}

.project-ops-hero-section .hero-subtitle,
.automation-analytics-hero-section .hero-subtitle,
.training-support-hero-section .hero-subtitle,
.managed-services-hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.project-ops-hero-section .text-highlight,
.automation-analytics-hero-section .text-highlight,
.training-support-hero-section .text-highlight,
.managed-services-hero-section .text-highlight {
    color: #60a5fa !important;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .project-hero-content,
    .automation-hero-content,
    .training-hero-content,
    .managed-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-left-content {
        max-width: 100%;
    }

    .hero-main-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .project-ops-hero-section,
    .automation-analytics-hero-section,
    .training-support-hero-section,
    .managed-services-hero-section {
        padding: 60px 0;
        min-height: auto;
        height: auto;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        max-width: 90%;
    }
}
