﻿#power-automate-main-container {
    font-size: 13px;
    font-family: work-sans-regular, Arial, sans-serif;
}

.power-automate-banner-section {
    background: radial-gradient(circle at 10% 90%, rgba(0, 255, 255, 0.18), transparent 40%), radial-gradient(circle at 90% 10%, rgba(170, 0, 255, 0.18), transparent 40%), linear-gradient(140deg, #1e1e2e, #21213a, #272749);
    padding-bottom: 40px;
    color: #f1f1f1;
    position: relative;
}

.power-automate-banner-container {
    padding: 100px 15px 30px;
    text-align: center;
}

.power-automate-banner-content, .power-automate-banner-image {
    display: inline-block;
    vertical-align: middle;
    width: 42%;
    max-width: 600px;
    margin: 20px;
    text-align: left;
}

.power-automate-banner-title-wrapper {
    max-width: 550px;
    color: #5fa6ff;
}

.power-automate-banner-title-wrapper span{
    color: #8cacb9;
    display: inline-block;
}

.power-automate-banner-quote-wrap {
    margin: 15px auto 20px;
    font-size: 1.2em;
    line-height: 1.6em;
    letter-spacing: 0.25px;
    color: #a1d9f3;
    background: linear-gradient(90deg, rgb(103 176 214 / 6%) 60%, rgb(103 177 214 / 0%) 100%);
    border-left: 3px solid;
    margin-left: -2px;
    padding: 4px 12px;
    max-width: 500px;
}

.power-automate-banner-btn {
    background: linear-gradient(135deg, #5484f0, #2f68b3);
    padding: 13px 25px;
    border-radius: 6px;
    margin: 0px
}

.power-automate-banner-image img {
    max-width: 100%;
    display: block;
    height: 400px;
    object-fit: scale-down;
    margin: auto;
}

.power-automate-feature-pane-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    max-width: 1230px;
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
    margin: 20px auto 0;
    animation: wrapperFade 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    overflow: hidden;
    position: relative;
}

.power-automate-feature-pane-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, transparent 30%, rgba(255,255,255,0.15), transparent 70% );
    transform: translateX(-120%);
    animation: lightSweep 1.8s ease forwards;
    border-radius: inherit;
    pointer-events: none;
}

.power-automate-feature-pane {
    max-width: 290px;
    min-width: 180px;
    width: 25%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
}

.power-automate-feature-pane:nth-child(1) .pane-desc-wrap{
    animation-delay: 0.3s;
}

.power-automate-feature-pane:nth-child(2) .pane-desc-wrap{
    animation-delay: 0.45s;
}

.power-automate-feature-pane:nth-child(3) .pane-desc-wrap{
    animation-delay: 0.60s;
}

.power-automate-feature-pane:nth-child(4) .pane-desc-wrap{
    animation-delay: 0.75s;
}

.power-automate-feature-pane:last-child{
    border-right: none;
}

.pane-icon-wrapper {
    display: inline-block;
    vertical-align: middle;
    color: #51cdf8a8;
    font-size: 2.6em;
    margin-bottom: 10px;
}

.pane-heading-wrap {
    color: #51cdf8;
    margin-bottom: 5px;
    letter-spacing: 0.2px;
    font-size: 1.2em;
    font-family: poppins-regular, Arial, Helvetica, sans-serif;
}

.pane-desc-wrap {
    font-size: 1em;
    line-height: 1.6em;
    font-family: work-sans-regular, Arial, sans-serif;
    max-width: 200px;
    margin: auto;
    opacity: 0;
    transform: translateY(80px) rotateX(12deg) scale(0.95);
    transform-origin: top;
    animation: depthReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/*deploy m365 template section*/

.deploy-m365-template-title-wrap {
    background: linear-gradient(to left, #624fe9, #b93f9c, #b620ba);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.deploy-m365-template-steps-wrapper {
    display: flex;
    max-width: 1400px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin: auto;
}

.deploy-m365-step-wrapper {
    max-width: 245px;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 2px 4px 6px 4px #c1e3ff;
}

.deploy-m365-step-number {
    color: #383838;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: inset -1.5px -1px 0px 0px #3b9ae8;
}

.deploy-m365-step-number span{
    font-size: 2em;
}

.deploy-m365-content-title {
    color: #0065b7;
}

.deploy-step-card-pink {
    box-shadow: 2px 4px 7px 4px #e8caf6;
}

.deploy-step-card-pink .deploy-m365-step-number {
    box-shadow: inset -1.5px -1px 0px 0px #ac30e3;
}

.deploy-step-card-pink .deploy-m365-content-title {
    color: #8905c4;
}

.deploy-step-card-blueviolet {
    box-shadow: 2px 4px 6px 4px #d5cef5;
}

.deploy-step-card-blueviolet .deploy-m365-step-number {
    box-shadow: inset -1.5px -1px 0px 0px #644be6;
}

.deploy-step-card-blueviolet .deploy-m365-content-title {
    color: #2f13c4;
}

.deploy-m365-template-svg img:nth-child(1) {
    position: absolute;
    transform: rotate(216deg);
    top: 3px;
    left: -20px;
    width: 30%;
    z-index: -1;
}

/* pre build automation section */

.pre-build-automation-section {
    background-color: #13223f;
    padding-top: 20px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #efefef;
}

.pre-build-automation-container{
    padding-bottom: 0;
    overflow: hidden;
}

.pre-build-automation-title-wrap {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(to right, #45ff80, #e5c445) text;
}

.pre-build-automation-template-section {
    margin: 20px auto 0;
    max-width: 1400px; 
}

.pre-build-automation-template-card {
    background: rgb(82 105 122 / 32%) 7%;
    padding: 40px;
    overflow: hidden;
    backdrop-filter: blur(2px);
    position: relative;
}

.pre-build-automation-template-card:not(.template-card-light){
    background: #223455;
}

.pre-build-automation-template-card.template-card-light{
    background: #f4f5f5;
}

.pre-build-automation-template-card:first-child {
    margin-top: 30px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.automation-template-header-wrapper {
    text-align: left;
    margin: 0 20px;
}

.automation-template-main-title {
    color: #2ee2e3;
}

.automation-template-main-desc {
    padding: 5px;
    width: 80%;
}

.automation-template-flow-title {
    color: #18b5c4;
}

.template-card-light .automation-template-main-title {
    color: #7f1bff;
}

.template-card-light .automation-template-flow-title {
    color: #6d19d7;
}

.pre-build-automation-template-section .template-card-light {
    color: #383838;
}

.pre-build-automation-template-card:not(.template-card-light)::before {
    content: "";
    background: url(/images/power-automate-template-images/bg-wave-pattern.png);
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    height: auto;
}

.pre-build-automation-template-card.template-card-light::after {
    content: "";
    background: url(/images/power-automate-template-images/dot-pattern.webp);
    background-size: cover;
    position: absolute;
    top: 0;
    right: -10%;
    width: 400px;
    height: 304px;
    opacity: 0.45;
    z-index: -1;
}

.automation-template-overall-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.automation-template-content {
    width: 32%;
    max-width: 420px;
    margin: 25px;
    text-align: left;
}

.automation-template-image {
    width: 55%;
    max-width: 600px;
    margin: 25px;
    position: relative;
    border: 1px solid #165de147;
    border-radius: 12px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 10px;
    background: #3060891f;
}

.automation-template-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: zoom-in;
}

.automation-template-flow-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.automation-template-flow-content ul li{
    position: relative;
    padding: 16px 0 16px 40px;
    font-size: 1.05em;
    line-height: 1.6;
}

.automation-template-flow-content ul li::before{
    content: "";
    position: absolute;
    left: 14px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #78d5d6;
    animation: softPulse 3s ease-in-out infinite;
}

.template-card-light .automation-template-flow-content ul li::before {
    background: #7f1bff;
}

.automation-template-flow-content ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 38px;
    width: 2px;
    height: calc(100% - 27px);
    background: repeating-linear-gradient( to bottom, rgba(120,213,214,.5) 0px, rgba(120,213,214,.5) 8px, rgba(120,213,214,.15) 8px, rgba(120,213,214,.15) 18px );
    background-size: 100% 40px;
    animation: flowLine 3s linear infinite;
}

.template-card-light .automation-template-flow-content ul li:not(:last-child)::after {
    background: repeating-linear-gradient(to bottom, rgb(127 79 243 / 50%) 0px, rgb(181 79 243 / 50%) 8px, rgb(163 79 243 / 15%) 8px, rgb(151 79 243 / 15%) 18px);
    background-size: 100% 40px;
}

/*automation template button*/

.automation-template-button-wrapper {
    margin-top: 20px;
}

.automation-template-button-wrapper .automation-template-btn {
    font-size: 1.1em;
    color: white;
    border-radius: 5px;
    padding: 10px 12px;
    background-color: #4158a9;
    background: linear-gradient(91deg, #08658f, #13a76d);
    display: inline-block;
}

.automation-template-button-wrapper .view-template-btn {
    background: linear-gradient(315deg, #990998 0%, #752ebd 74%);
    margin: 0 10px 10px 0;
}

.automation-template-button-wrapper a:hover {
    opacity: .9
}

/* CTA Banner */

.power-automate-cta-wrapper {
    position: relative;
    overflow: hidden;
    margin: auto;
    padding: 25px;
    background: linear-gradient(45deg, #05234b, #155fa3);
    color: #f1f1f1;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* SVG overlay */

.power-automate-cta-wrapper::before {
    content: "";
    position: absolute;
    background-image: url(/images/power-automate-template-images/cta-banner-bg-pattern.webp);
    background-size: cover;
    pointer-events: none;
    z-index: 0;
    top: 35%;
    right: 2px;
    bottom: 0;
    width: 20%;
}

.power-automate-cta-wrapper > * {
    position: relative;
    z-index: 1;
}

.cta-content-wrapper {
    width: 70%;
    margin: auto;
}

.cta-desc-wrap {
    padding: 0;
}

.cta-template-button-wrap {
    margin: auto;
    margin-top: 20px;
}

.power-automate-cta-btn {
    background: linear-gradient(265deg, #0081dd, #0592d5);
    padding: 13px 25px;
    border-radius: 6px;
    margin: 0px;
    font-family: 'work-sans-medium';
}

.highlight-cta-text {
    position: relative;
    color: #71e3ff;
}

span.highlight-cta-text:after {
    content: "";
    height: 3px;
    right: 0;
    background: linear-gradient(45deg, #46ceef, transparent);
    position: absolute;
    bottom: 0px;
    left: 0;
}

/*popup container*/

.popup-container {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 61;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
    background: #0000004d;
}

.popup-container-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(2px);
    background: #06060647;
    cursor: zoom-out;
}

.expand-img-container {
    padding: 20px;
    width: 67%;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    border-radius: 10px;
    background: rgba(153, 157, 163, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: zoom-out;
}

.expand-img-container img {
    border-radius: 5px;
    display: block;
    width: 100%;
}

.close {
    color: #6a6a6a;
    font-size: 1.5em;
    position: absolute;
    top: 0;
    right: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background: aliceblue;
    width: 30px;
    border-radius: 0% 0 0 25%;
    text-align: center;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5019607843);
    cursor: pointer;
    border-radius: 0% 20% 0 20%;
}

.close:hover {
    color: #383838;
}

.droid-section-main-title-desc{
    padding: 5px;
}

@keyframes softPulse {

    0%{
        box-shadow:0 0 0px rgba(120,213,214,.0);
        transform:scale(.95);
    }

    50%{
        box-shadow:0 0 10px rgba(120,213,214,.45);
        transform:scale(1.1);
    }

    100%{
        box-shadow:0 0 0px rgba(120,213,214,.0);
        transform:scale(.95);
    }
}

@keyframes flowLine {

    0%{
        background-position: 0 0;
    }

    100%{
        background-position: 0 40px;
    }

}

@keyframes wrapperFade {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lightSweep {
  to {
    transform: translateX(120%);
  }
}

@keyframes depthReveal {
  0% {
    opacity: 0;
    transform: translateY(80px) rotateX(12deg) scale(0.95);
  }

  60% {
    opacity: 1;
    transform: translateY(-2px) rotateX(-2deg) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
}

@media(max-width:998px) {

    .power-automate-feature-pane-wrapper{
        gap: 40px 20px;
    }

    .power-automate-feature-pane {
        width: 100%;
        border: none;
    }
}

@media(max-width:900px){

    .automation-template-content {
        width: 100%;
        max-width: 100%;
    }

    .automation-template-image{
        width: auto;
        max-width: 100%;
    }

    .pre-build-automation-template-card .automation-template-image{
        order: -1;
    }

    .pre-build-automation-template-card:not(.template-card-light)::before, .pre-build-automation-template-card.template-card-light::after, .power-automate-cta-wrapper::before {
        content: none;
    }

    .cta-content-wrapper {
        width: auto;
    }
}

@media(max-width:698px){

    .power-automate-banner-image{
        display: none;
    }

    .power-automate-banner-content {
        width: auto;
    }

    .pre-build-automation-template-card{
        padding: 30px 15px;
    }

    .automation-template-header-wrapper{
        margin: 0;
    }

    .automation-template-content, .automation-template-image{
        margin: 20px 0;
    }

    .automation-template-main-desc{
        width: 100%;
    }

    .droid-section-main-title {
        font-size: 1.8em;
    }

    .deploy-m365-template-steps-wrapper {
        gap: 40px;
    }
}