/* Cloud & DevOps Page (cloud-dev.html) */

.cloud-dev-page {
    background-color: #FFFFFF;
}

/* Background blending (match index.php feel)
   Each section keeps its own gradient, but gradients bleed + soft-fade
   so there are no hard edges between sections. */
.cloud-dev-page .staff-hero,
.digital-marketing-page .digital-hero-section,
.cloud-dev-page .cases-section.slider-section,
.digital-marketing-page .cases-section.slider-section,
.cloud-dev-page .advantage-section,
.digital-marketing-page .advantage-section,
.cloud-dev-page .services-overview-section,
.digital-marketing-page .services-overview-section,
.cloud-dev-page .benefits-section,
.digital-marketing-page .benefits-section,
.cloud-dev-page .choose-us-section,
.digital-marketing-page .choose-us-section {
    overflow: visible;
}

.cloud-dev-page .staff-hero-bg,
.digital-marketing-page .digital-hero-bg-gradient,
.cloud-dev-page .cases-section.slider-section .team-hero-bg,
.digital-marketing-page .cases-section.slider-section .team-hero-bg,
.cloud-dev-page .advantage-bg,
.digital-marketing-page .advantage-bg,
.cloud-dev-page .services-overview-bg,
.digital-marketing-page .services-overview-bg,
.cloud-dev-page .benefits-section .benefits-bg,
.digital-marketing-page .benefits-section .benefits-bg,
.cloud-dev-page .choose-us-bg,
.digital-marketing-page .choose-us-bg {
    /* Full-width background (no side gaps) */
    width: 140vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    /* Soften the top/bottom edge of each gradient scene */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* Section 2: Case Studies slider visuals */
.cloud-dev-page .cases-section.slider-section {
    position: relative;
    background: transparent;
}

.cloud-dev-page .cases-section.slider-section .team-hero-bg {
    position: absolute;
    width: 1439px;
    height: 1000px;
    left: 0;
    top: -200px;
    background: linear-gradient(108.44deg, #E5FCF6 18.86%, rgba(229, 252, 246, 0) 93.35%);
    filter: blur(200px);
    opacity: 0.9;
    pointer-events: none;
}

.cloud-dev-page .cases-section.slider-section .cases-dots .cases-dot {
    background: rgba(58, 137, 248, 0.3);
}

.cloud-dev-page .cases-section.slider-section .cases-dots .cases-dot.active {
    background: #3A89F8;
}

/* Section 1: Hero (Figma specs) */
.cloud-dev-page .staff-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: transparent;
    overflow: visible;
}

.cloud-dev-page .staff-hero-bg {
    position: absolute;
    width: 1440px;
    height: 1000px;
    left: calc(50% - 1440px / 2);
    top: -120px;
    background: linear-gradient(108.44deg, #CCE1FF 18.86%, rgba(204, 225, 255, 0) 93.35%, rgba(204, 225, 255, 0) 93.35%);
    filter: blur(150px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.cloud-dev-page .staff-hero::after {
    content: '';
    position: absolute;
    width: 336px;
    height: 314px;
    right: -205px;
    bottom: 20%;
    background: rgba(204, 225, 255, 0.6);
    filter: blur(150px);
    border-radius: 1000px;
    z-index: 1;
    pointer-events: none;
}

.cloud-dev-page .staff-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1140px;
    text-align: center;
}

.cloud-dev-page .staff-hero-heading-container {
    width: 100%;
    max-width: 946px;
}

.cloud-dev-page .staff-hero-title {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 50px;
    line-height: 60px;
    margin: 0;
    background: linear-gradient(90deg, #202333 0%, #3A89F8 90.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.15em;
}

.cloud-dev-page .staff-hero-description {
    width: 100%;
    max-width: 946px;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    color: #202333;
    margin: 0;
}

@media (max-width: 1024px) {
    .cloud-dev-page .staff-hero-title {
        font-size: 42px;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .cloud-dev-page .staff-hero {
        padding: 60px 24px 0;
        height: 75vh;
    }

    .cloud-dev-page .staff-hero-bg {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        filter: blur(100px);
    }

    .cloud-dev-page .staff-hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .cloud-dev-page .staff-hero-description {
        font-size: 16px;
        line-height: 26px;
    }

    .cloud-dev-page .staff-hero-content {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .cloud-dev-page .staff-hero-title {
        font-size: 28px;
    }
}

/* Section 3: The Envistudios Advantage (Figma Section_02) */
.cloud-dev-page .advantage-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background: transparent;
    overflow: visible;
}

.cloud-dev-page .advantage-bg {
    position: absolute;
    width: 1440px;
    height: 1000px;
    left: calc(50% - 1440px / 2);
    top: -200px;
    background: linear-gradient(108.44deg, rgba(237, 231, 255, 0.8) 18.86%, rgba(237, 231, 255, 0) 93.35%);
    filter: blur(200px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.cloud-dev-page .advantage-section::after {
    content: '';
    position: absolute;
    width: 231.92px;
    height: 248px;
    right: 0;
    bottom: 20%;
    background: rgba(229, 252, 246, 0.6);
    filter: blur(150px);
    border-radius: 124px;
    z-index: 1;
    pointer-events: none;
}

.cloud-dev-page .advantage-container {
    position: relative;
    z-index: 2;
}

.cloud-dev-page .advantage-title {
    background: linear-gradient(90deg, #202333 0%, #B098F2 90.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* .cloud-dev-page .advantage-card .card-icon img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(75%) sepia(21%) saturate(1478%) hue-rotate(213deg) brightness(101%) contrast(92%);
} */

@media (max-width: 768px) {
    .cloud-dev-page .advantage-section {
        padding: 80px 24px;
    }
}

/* Section 4: Cloud & DevOps Services Overview */
.cloud-dev-page .services-overview-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background: transparent;
    overflow: visible;
}

.cloud-dev-page .services-overview-bg {
    position: absolute;
    width: 1439px;
    height: 1100px;
    left: -1px;
    top: -200px;
    background: linear-gradient(108.44deg, #FEDFC3 18.86%, rgba(254, 223, 195, 0) 93.35%, rgba(254, 223, 195, 0) 93.35%);
    filter: blur(200px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.cloud-dev-page .services-overview-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}

.cloud-dev-page .services-overview-header {
    text-align: center;
    margin-bottom: 50px;
}

.cloud-dev-page .services-overview-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #202333 0%, #FA8B26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cloud-dev-page .services-overview-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #202333;
    max-width: 900px;
    margin: 0 auto 8px;
}

.cloud-dev-page .services-overview-subtitle-label {
    margin-top: 16px;
    font-weight: 700;
    font-size: 16px;
}

.cloud-dev-page .services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    width: 100%;
}

.cloud-dev-page .service-overview-card {
    box-sizing: border-box;
    position: relative;
    width: 560px;
    height: 110px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(250, 139, 38, 0.08) 0%, rgba(250, 139, 38, 0) 100%), #FFFFFF;
    box-shadow: 0px 14px 34px rgba(7, 45, 81, 0.12);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cloud-dev-page .service-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 18px 40px rgba(7, 45, 81, 0.16);
}

.cloud-dev-page .service-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-dev-page .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cloud-dev-page .service-text {
    position: absolute;
    width: 393px;
    height: 60px;
    left: 105px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.cloud-dev-page .service-text h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #202333;
    margin: 0;
    text-align: left;
}

@media (max-width: 1024px) {
    .cloud-dev-page .services-overview-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .cloud-dev-page .services-overview-section {
        padding: 80px 24px;
    }

    .cloud-dev-page .services-overview-grid {
        grid-template-columns: 1fr;
    }

    .cloud-dev-page .service-overview-card {
        width: 100%;
        max-width: 560px;
        height: auto;
        min-height: 110px;
    }

    .cloud-dev-page .service-text {
        position: static;
        width: auto;
        height: auto;
        transform: none;
        margin-left: 80px;
        margin-right: 16px;
    }

    .cloud-dev-page .service-icon {
        left: 24px;
        top: 24px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .cloud-dev-page .services-overview-title {
        font-size: 28px;
    }

    .cloud-dev-page .service-overview-card {
        padding: 18px 20px;
    }
}

/* Section 5: Cloud & DevOps Advantages (Benefits slider visuals) */
.cloud-dev-page .benefits-section {
    position: relative;
    background: transparent;
}

.cloud-dev-page .benefits-sticky-wrapper {
    overflow: visible;
}

.cloud-dev-page .benefits-section .benefits-bg {
    position: absolute;
    width: 1439px;
    height: 1000px;
    left: 0;
    top: -200px;
    background: linear-gradient(108.44deg, #CCE1FF 18.86%, rgba(204, 225, 255, 0) 93.35%, rgba(204, 225, 255, 0) 93.35%);
    filter: blur(150px);
    opacity: 0.9;
    z-index: 1;
}

.cloud-dev-page .benefits-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.2;
    background: linear-gradient(90deg, #202333 0%, #3A89F8 90.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .cloud-dev-page .benefits-title {
        font-size: 32px;
    }
}

/* Section 6: Why Choose Envistudios for Cloud & DevOps */
.cloud-dev-page .choose-us-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background: transparent;
    overflow: visible;
}

.cloud-dev-page .choose-us-bg {
    position: absolute;
    width: 1440px;
    height: 1000px;
    left: calc(50% - 1440px / 2);
    top: -200px;
    background: linear-gradient(108.69deg, #E5FCF6 19.06%, rgba(229, 252, 246, 0) 94.33%);
    filter: blur(200px);
    opacity: 0.9;
    border: none;
    animation: none;
    pointer-events: none;
    z-index: 1;
}

.cloud-dev-page .choose-us-overlay-circle {
    position: absolute;
    width: 282px;
    height: 268px;
    right: -40px;
    bottom: 20%;
    background: rgba(229, 252, 246, 0.7);
    filter: blur(150px);
    border-radius: 1000px;
    z-index: 1;
}

.cloud-dev-page .choose-us-container {
    position: relative;
    z-index: 2;
    max-width: 1138px;
}

.cloud-dev-page .choose-us-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 45px;
    background: linear-gradient(90deg, #202333 0%, #34C9A0 90.87%), #202333;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.cloud-dev-page .choose-us-title .choose-us-title-accent {
    color: #34C9A0;
    -webkit-text-fill-color: #34C9A0;
}

.cloud-dev-page .choose-us-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: nowrap;
}

.cloud-dev-page .choose-us-grid .choose-card {
    width: 265px;
    flex: 0 0 265px;
    height: 340px;
}

@media (max-width: 1200px) {
    .cloud-dev-page .choose-us-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .cloud-dev-page .choose-us-section {
        padding: 80px 24px;
    }

    .cloud-dev-page .choose-us-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .cloud-dev-page .choose-us-grid {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .cloud-dev-page .choose-us-grid .choose-card {
        width: 100%;
        max-width: 360px;
        flex: 0 0 auto;
        height: auto;
        min-height: 320px;
    }
}