/* digital-marketing.css */

/* ==========================================================================
   DIGITAL MARKETING PAGE (digital-marketing.html)
   ========================================================================== */

/* Hero Section Styling (Updated based on user request) */
.digital-hero-section {
    position: relative;
    overflow: visible;
    background-color: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

.digital-hero-bg-gradient {
    position: absolute;
    width: 1440px;
    height: 750px;
    left: calc(50% - 1440px/2);
    top: 69px;
    background: linear-gradient(108.44deg, #CFFCF0 18.86%, rgba(255, 244, 235, 0) 93.35%, rgba(229, 252, 246, 0) 93.35%);
    filter: blur(150px);
    z-index: 0;
    pointer-events: none;
}

.hero-vector {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    width: auto;
    height: auto;
}

.left-vector {
    left: 0;
    top: 0;
}

.right-vector {
    right: 0;
    top: 0;
}

.digital-hero-content {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.digital-hero-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 50px;
    line-height: 60px;
    background: linear-gradient(90deg, #202333 0%, #34C9A0 90.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.digital-hero-description {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #202333;
    max-width: 820px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ==========================================================================
   Section 2: Cases Section Styling
   ========================================================================== */
.cases-section {
    position: relative;
    overflow: visible;
    background-color: transparent;
}

.team-hero-bg {
    position: absolute;
    width: 1439px;
    height: 750px;
    left: calc(50% - 1439px / 2);
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(108.44deg, #EDE7FF 18.86%, rgba(255, 244, 235, 0) 93.35%);
    filter: blur(200px);
    z-index: 0;
}

.cases-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.cases-dots .cases-dot {
    width: 12px;
    height: 12px;
    background: rgba(176, 152, 242, 0.3) !important;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cases-dots .cases-dot.active {
    background: #B098F2 !important;
}


/* ==========================================================================
   Section 3: Advantage Section (Same as staff.css but Peach theme)
   ========================================================================== */
.advantage-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background-color: transparent;
    scroll-snap-align: start;
}

.advantage-bg {
    position: absolute;
    width: 1800px;
    height: 1000px;
    left: calc(50% - 1800px/2);
    top: -100px;
    background: linear-gradient(108.44deg, rgba(254, 223, 195, 0.8) 18.86%, rgba(255, 244, 235, 0) 93.35%);
    filter: blur(300px);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.advantage-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1140px;
    text-align: center;
}

.advantage-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    padding-bottom: 0.15em;
    background: linear-gradient(90deg, #202333 0%, #FA8B26 90.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.advantage-card {
    position: relative;
    background: #FFFFFF;
    box-shadow: 0px 16px 36px rgba(32, 35, 51, 0.1);
    border-radius: 20px;
    padding: 31px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    height: 182px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 20px 45px rgba(32, 35, 51, 0.15);
}

.card-icon {
    position: absolute;
    top: -10px;
    right: -4px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* background: rgba(250, 139, 38, 0.1); */
    border-radius: 50%;
}

.card-icon img {
    width: 77px;
    height: 72px;
    object-fit: contain;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.card-number {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    color: #202333;
}

.card-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #202333;
    max-width: 180px;
}


/* ==========================================================================
   Section 4: Services Overview (Same as staff.css but Blue theme)
   ========================================================================== */
.services-overview-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background-color: transparent;
    scroll-snap-align: start;
}

.services-overview-bg {
    position: absolute;
    width: 2000px;
    height: 150vh;
    left: -100px;
    top: -20vh;
    background: linear-gradient(108.44deg, #CCE1FF 18.86%, rgba(255, 244, 235, 0) 93.35%, rgba(204, 225, 255, 0) 93.35%);
    filter: blur(250px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.services-overview-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}

.services-overview-header {
    text-align: center;
    margin-bottom: 50px;
}

.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%, #3A89F8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.15em;
}

.services-overview-description,
.services-overview-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.6;
    color: #202333;
    max-width: 1012px;
    margin: 0 auto 10px;
    text-align: center;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.service-overview-card {
    box-sizing: border-box;
    position: relative;
    width: 560px;
    height: 110px;
    background: linear-gradient(180deg, rgba(58, 137, 248, 0.08) 0%, rgba(58, 137, 248, 0) 100%), #FFFFFF;
    box-shadow: 0px 14px 34px rgba(7, 45, 81, 0.12);
    border-radius: 20px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 18px 40px rgba(7, 45, 81, 0.18);
}

.service-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.service-text {
    position: absolute;
    width: 393px;
    height: 60px;
    left: 95px;
    top: calc(50% - 60px / 2 - 0.2px);
    display: flex;
    align-items: center;
}

.service-text h3 {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #202333;
    margin: 0;
}


/* ==========================================================================
   Section 5: Core Benefits (Same as staff.css but Green theme)
   ========================================================================== */
.benefits-section {
    position: relative;
    width: 100%;
    height: 200vh;
    background-color: transparent;
    scroll-snap-align: start;
    margin: 0;
}

.benefits-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.benefits-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(108.44deg, #E5FCF6 18.86%, rgba(255, 244, 235, 0) 93.35%, rgba(209, 249, 238, 0) 93.35%);
    opacity: 0.7;
    z-index: 1;
    filter: blur(120px);
}

.benefits-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1140px;
    gap: 80px;
    padding: 0 24px;
}

.benefits-header {
    flex: 0.8;
    width: 100%;
    max-width: 570px;
    margin-top: 0;
}

.benefits-title {
    width: 100%;
    max-width: 570px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 45px;
    background: linear-gradient(90deg, #202333 0%, #34C9A0 90.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0;
    padding-bottom: 0.15em;
}

.benefits-accordion {
    flex: 1.2;
    position: relative;
    height: 545px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
    max-width: 544px;
}

.benefit-card {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(7, 45, 81, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    bottom: 0;
    transform: translateY(40px);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.1s linear, opacity 0.3s ease;
}

.benefit-card .benefit-card-inner {
    padding: 30px 40px;
}

.benefit-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.benefit-main-info {
    flex: 1;
}

.benefit-card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #202333;
    margin: 0 0 16px 0;
}

.benefit-short-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #202333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.benefit-icon {
    position: absolute;
    right: 10px;
    bottom: 2px;
    width: 106px;
    height: 106px;
    transition: all 0.5s ease;
    pointer-events: none;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card-content {
    max-height: 150px;
    opacity: 1;
    overflow: hidden;
    margin-top: 4px;
}

.benefit-card-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    color: #202333;
    margin: 0;
}

.benefit-card[data-index="1"] {
    bottom: 345px;
    z-index: 1;
}

.benefit-card[data-index="2"] {
    bottom: 236px;
    z-index: 2;
}

.benefit-card[data-index="3"] {
    bottom: 129px;
    z-index: 3;
}

.benefit-card[data-index="4"] {
    bottom: 23px;
    z-index: 4;
}

.benefit-orange {
    background: linear-gradient(180deg, rgba(250, 139, 38, 0.15) 0%, rgba(250, 139, 38, 0) 100%), #FFFFFF;
    border: 1px solid #FA8B264D;
}

.benefit-purple {
    border: 1px solid #B098F24D;
    background: linear-gradient(180deg, rgba(176, 152, 242, 0.15) 0%, rgba(176, 152, 242, 0) 100%), #FFFFFF;
}

.benefit-blue {
    background: linear-gradient(180deg, rgba(58, 137, 248, 0.15) 0%, rgba(58, 137, 248, 0) 100%), #FFFFFF;
    border: 1px solid #3A89F84D;
}

.benefit-green {
    background: linear-gradient(180deg, rgba(52, 201, 160, 0.15) 0%, rgba(52, 201, 160, 0) 100%), #FFFFFF;
    border: 1px solid #34C9A04D;
}


/* ==========================================================================
   Section 6: Why Teams Choose Section (Purple theme)
   ========================================================================== */
.choose-us-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background-color: transparent;
    scroll-snap-align: start;
}

.choose-us-bg {
    position: absolute;
    width: 2000px;
    height: 150vh;
    left: 50%;
    top: -50vh;
    transform: translateX(-50%);
    background: linear-gradient(108.44deg, #EDE7FF 18.86%, rgba(255, 244, 235, 0) 93.35%);
    filter: blur(200px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.choose-us-overlay-circle {
    position: absolute;
    width: 282px;
    height: 268px;
    right: -40px;
    bottom: 20%;
    background: rgba(197, 178, 255, 0.7);
    filter: blur(150px);
    border-radius: 1000px;
    z-index: 1;
}

.choose-us-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choose-us-header {
    margin-bottom: 60px;
    text-align: center;
}

.choose-us-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 45px;
    background: linear-gradient(90deg, #202333 0%, #B098F2 90.87%), #202333;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    padding-bottom: 0.15em;
    text-align: center;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    width: 100%;
}

.choose-card {
    box-sizing: border-box;
    background: #FFFFFF;
    box-shadow: 0px 14px 30px rgba(37, 61, 73, 0.08);
    border-radius: 20px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(37, 61, 73, 0.15);
}

.choose-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choose-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.choose-card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 24px;
    color: #202333;
    margin-bottom: 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choose-card-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #202333;
    margin: 0;
    opacity: 0.8;
}

.choose-card-orange {
    background: linear-gradient(180deg, rgba(250, 139, 38, 0.15) 0%, #FFFFFF 100%);
    border: 1px solid rgba(250, 139, 38, 0.3);
}

.choose-card-purple {
    background: linear-gradient(180deg, rgba(176, 152, 242, 0.15) 0%, #FFFFFF 100%);
    border: 1px solid rgba(176, 152, 242, 0.3);
}

.choose-card-green {
    background: linear-gradient(180deg, rgba(52, 201, 160, 0.15) 0%, #FFFFFF 100%);
    border: 1px solid rgba(52, 201, 160, 0.3);
}

.choose-card-blue {
    background: linear-gradient(180deg, rgba(58, 137, 248, 0.15) 0%, #FFFFFF 100%);
    border: 1px solid rgba(58, 137, 248, 0.3);
}

/* Responsiveness (Unified for all sections) */
@media (max-width: 1200px) {

    .advantage-grid,
    .choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .choose-us-grid {
        max-width: none;
    }

    .advantage-section,
    .services-overview-section,
    .choose-us-section {
        height: auto;
        padding: 100px 24px;
    }

    .service-overview-card {
        width: 100%;
        max-width: 560px;
    }

    .choose-card {
        height: auto;
        min-height: 320px;
    }
}

@media (max-width: 1024px) {

    .advantage-title,
    .services-overview-title,
    .benefits-title,
    .choose-us-title {
        font-size: 32px;
    }

    .benefits-container {
        flex-direction: column;
        gap: 40px;
    }

    .benefits-section {
        height: auto;
    }

    .benefits-sticky-wrapper {
        position: static;
        height: auto;
        padding: 60px 24px;
    }

    .benefits-accordion {
        height: auto;
        gap: 20px;
        margin-top: 40px;
    }

    .benefit-card {
        position: static;
        opacity: 1;
        transform: none !important;
    }
}

@media (max-width: 768px) {

    .services-overview-grid,
    .choose-us-grid {
        grid-template-columns: 1fr;
    }

    .service-overview-card {
        height: auto;
        min-height: 124px;
        padding: 20px;
        display: flex;
        align-items: center;
        position: relative;
    }

    .service-icon,
    .service-text {
        position: static;
        transform: none;
        margin-right: 12px;
    }

    .digital-hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .choose-card {
        padding: 30px 20px;
    }
}

@media (max-width: 580px) {
    .advantage-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .advantage-card {
        align-items: center;
        text-align: center;
    }

    .card-label {
        max-width: none;
    }
}