/* Services Page Specific Styles */

/* Services Page Desktop Frame (3:128) - 1280x1080 */
.services-page {
    height: 1080px;
    background-color: #ff2300;
    position: relative;
}

/* Back Arrow (3:289) - at (84, 51) rotated -180deg - THICK & BOLD */
.back-arrow {
    position: absolute;
    left: 84px;
    top: 51px;
    width: 80px;
    height: 30px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 100;
    display: flex;
    align-items: center;
}

.back-arrow svg {
    width: 100%;
    height: auto;
}

.back-arrow:hover {
    opacity: 0.85;
    transform: translateX(-8px) scale(1.05);
}

/* Services Title (3:138) - 690x188 at (46, 51) */
.services-title {
    position: absolute;
    left: 46px;
    top: 51px;
    width: 690px;
    height: 188px;
    font-size: 206px;
    font-family: 'Helvetica Now MT Text', 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.1em;
    line-height: 214px;
    color: #ffffff;
    text-align: left;
}

/* Service Cards Container */
.service-cards {
    position: absolute;
    left: 167px;
    top: 323px;
    display: flex;
    gap: 30px;
    z-index: 10;
}

/* Individual Service Card (3:140, 3:144, 3:150) - 295x491 */
.service-card {
    position: relative;
    width: 295px;
    height: 491px;
    background-color: #222222;
    border-radius: 38px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card.expanded {
    width: 320px;
    height: 520px;
    z-index: 20;
    transform: scale(1.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.service-card.expanded .service-features {
    opacity: 1;
    max-height: 300px;
}

.service-card:not(.expanded) .service-features {
    opacity: 0.7;
    max-height: 200px;
    overflow: hidden;
}

/* Service Icon - at top of card (3:154, 3:155, 3:156) */
.service-icon {
    position: absolute;
    left: 34px;
    top: 28px;
    width: 36px;
    height: 24px;
}

/* Service Card Title (3:157, 3:158, 3:159) */
.service-card-title {
    position: absolute;
    left: 33px;
    top: 103px;
    font-size: 31px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.1em;
    line-height: 31px;
    color: #ffffff;
    text-align: left;
    max-width: 242px;
}

/* Service Card Description (3:160, 3:162, 3:163) */
.service-card-description {
    position: absolute;
    left: 32px;
    top: 183px;
    font-size: 15px;
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 13px;
    color: #ffffff;
    text-align: left;
    max-width: 332px;
}

/* Divider Lines (3:142, 3:141, 3:146, 3:145, 3:152, 3:151) */
.service-card-divider-top {
    position: absolute;
    left: 33px;
    top: 178px;
    width: 222px;
    height: 1px;
    background-color: #ffffff;
}

.service-card-divider-bottom {
    position: absolute;
    left: 33px;
    top: 217px;
    width: 222px;
    height: 1px;
    background-color: #ffffff;
}

/* Service Features List (3:161, 3:147, 3:153) */
.service-features {
    position: absolute;
    left: 13px;
    top: 236px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 29px;
    font-family: 'Helvetica Now MT Text', 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.1em;
    line-height: 38px;
    color: #ffffff;
    text-align: left;
    padding-left: 20px;
}

/* Wave Line (3:164) - 1072x144 at (104, 884) - STRETCH horizontal */
.wave-line {
    position: absolute;
    left: 104px;
    top: 884px;
    width: 1072px;
    height: 144px;
}

/* Social Icons Rows (Groups 4 & 5 - 3:165, 3:170) */
.social-icons-row {
    position: absolute;
    display: flex;
    gap: 30px;
}

/* Row 1 (3:165) - at (135, 908) */
.row-1 {
    left: 135px;
    top: 908px;
}

/* Row 2 (3:170) - at (657, 908) */
.row-2 {
    left: 657px;
    top: 908px;
}

/* Social Icon Box (3:166, 3:167, 3:168, 3:169, etc.) - 95x95 */
.social-icon-box {
    width: 95px;
    height: 95px;
    background-color: #222222;
    border-radius: 0;
}

/* Cloud Images - Decorative SVG clouds */
.cloud-img {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
    will-change: transform;
}

/* Straight-line horizontal cloud animations */
@keyframes float-1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(30px); }
}

@keyframes float-2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25px); }
}

@keyframes float-3 {
    0% { transform: translateX(0); }
    100% { transform: translateX(40px); }
}

.cloud-1 { animation: float-1 5s linear infinite alternate; }
.cloud-2 { animation: float-2 6s linear infinite alternate; }
.cloud-3 { animation: float-3 7s linear infinite alternate; }
.cloud-4 { animation: float-1 5.5s linear infinite alternate; }
.cloud-5 { animation: float-2 6.5s linear infinite alternate; }
.cloud-6 { animation: float-3 5.2s linear infinite alternate; }
.cloud-7 { animation: float-1 6.8s linear infinite alternate; }
.cloud-8 { animation: float-2 5.8s linear infinite alternate; }
.cloud-9 { animation: float-3 7.2s linear infinite alternate; }

/* Cloud 1 (3:129) - 386x179 at (833, 348) */
.cloud-1 {
    left: 833px;
    top: 348px;
    width: 386px;
    height: 179px;
}

/* Cloud 2 (3:130) - 386x179 at (-18, 363) */
.cloud-2 {
    left: -18px;
    top: 363px;
    width: 386px;
    height: 179px;
}

/* Cloud 3 (3:131) - 274x128 at (1055, 999) - vertical MAX */
.cloud-3 {
    left: 1055px;
    top: 999px;
    width: 274px;
    height: 128px;
}

/* Cloud 4 (3:132) - 386x179 at (-86, 957) - vertical MAX */
.cloud-4 {
    left: -86px;
    top: 957px;
    width: 386px;
    height: 179px;
}

/* Cloud 5 (3:133) - 254x174 at (815, 135) - horizontal MAX */
.cloud-5 {
    left: 815px;
    top: 135px;
    width: 254px;
    height: 174px;
}

/* Cloud 6 (3:134) - 320x130 at (124, 746) */
.cloud-6 {
    left: 124px;
    top: 746px;
    width: 320px;
    height: 130px;
}

/* Cloud 7 (3:135) - 320x130 at (643, 827) - horizontal MAX */
.cloud-7 {
    left: 643px;
    top: 827px;
    width: 320px;
    height: 130px;
}

/* Cloud 8 (3:136) - 320x130 at (938, 620) */
.cloud-8 {
    left: 938px;
    top: 620px;
    width: 320px;
    height: 130px;
}

/* Cloud 9 (3:137) - 271x170 at (1026, 110) */
.cloud-9 {
    left: 1026px;
    top: 110px;
    width: 271px;
    height: 170px;
}

/* Responsive Design */
@media (max-width: 1280px) {
    .services-page {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
        overflow-x: hidden;
    }

    /* Hide some clouds on smaller screens for cleaner look */
    .cloud-2,
    .cloud-4 {
        display: none;
    }

    /* Scale cloud images proportionally */
    .cloud-img {
        width: auto;
        height: auto;
        max-width: 30%;
        opacity: 0.7;
    }

    .services-title {
        font-size: clamp(80px, 16vw, 206px);
        line-height: clamp(70px, 16.7vw, 214px);
        left: 3.6%;
        width: auto;
        max-width: 54%;
    }

    .back-arrow {
        left: 6.5%;
        top: 4.7%;
    }

    .service-cards {
        position: relative;
        left: 0;
        top: 300px;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
        margin-top: 50px;
    }

    .service-card {
        width: 90%;
        max-width: 400px;
    }

    .wave-line {
        left: 8%;
        width: 84%;
        top: auto;
        bottom: 200px;
    }

    .social-icons-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .row-1 {
        left: 10%;
        top: auto;
        bottom: 100px;
        width: 80%;
    }

    .row-2 {
        left: 10%;
        top: auto;
        bottom: 20px;
        width: 80%;
    }

    .social-icon-box {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .services-page {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 0;
        overflow-x: hidden;
    }

    .back-arrow {
        left: 20px;
        top: 20px;
        width: 60px;
        height: 24px;
    }

    .services-title {
        font-size: 56px;
        line-height: 56px;
        left: 20px;
        top: 70px;
        width: calc(100% - 40px);
        height: auto;
    }

    .service-cards {
        position: relative;
        top: 160px;
        left: 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px 40px;
        margin-bottom: 0;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 380px;
        padding: 25px;
        border-radius: 30px;
    }

    .service-card:hover {
        transform: translateY(-3px);
    }

    .service-card.expanded {
        transform: scale(1);
        width: 100%;
    }

    .service-icon {
        position: relative;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .service-card-title {
        position: relative;
        left: 0;
        top: 0;
        font-size: 22px;
        line-height: 26px;
        margin-bottom: 10px;
    }

    .service-card-description {
        position: relative;
        left: 0;
        top: 0;
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 15px;
    }

    .service-card-divider-top,
    .service-card-divider-bottom {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        margin: 8px 0;
    }

    .service-features {
        position: relative;
        left: 0;
        top: 0;
        padding: 0;
    }

    .service-features li {
        font-size: 16px;
        line-height: 26px;
        padding: 4px 0;
    }

    .wave-line {
        display: none;
    }

    .social-icons-row {
        display: none;
    }

    /* Hide all clouds on mobile */
    .cloud-img {
        display: none;
    }
}
