/* 
@font-face {
    font-family: SpaceGrotesk;
    src: url('./fonts/SpaceGrotesk-Bold.ttf') format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: SpaceGrotesk;
    src: url('./fonts/SpaceGrotesk-Light.ttf') format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: SpaceGrotesk;
    src: url('./fonts/SpaceGrotesk-Medium.ttf') format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: SpaceGrotesk;
    src: url('./fonts/SpaceGrotesk-Regular.ttf') format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: SpaceGrotesk;
    src: url('./fonts/SpaceGrotesk-SemiBold.ttf') format("truetype");
    font-weight: 600;
} */


:root {
    --primary-color: #B9FF66;
    --secondary-color: #191A23;
    --body-color: #F3F3F3;
}

body {
    font-family: SpaceGrotesk;
    background-color: white;
}

/* ==================== Navbar Start ==================== */

.navbar {
    position: relative;
    display: flex;
    padding: 10px;
    background-color: var(--body-color);
    justify-content: space-around;
    align-items: center;
}

.nav_element>ul>li {
    position: relative;
    display: inline;
    list-style: none;
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
}

.nav_element>ul>li>a {
    font-family: SpaceGrotesk;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav_element>ul>li::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.17rem;
    background-color: #a6cfef;
    left: 0;
    bottom: 0;
    transform-origin: 0% 100%;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav_element>ul>li:hover::after {
    transform: scaleX(1);
}

.navbox a,
.nav-button a {
    color: var(--secondary-color);
    list-style: none;
    text-decoration: none;
    display: flex;
}

.navbox {
    font-size: 32px;
}

.nav-button {
    background-color: transparent;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
}

.anim-layer {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: #a6cfef;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-button:hover .anim-layer {
    width: 100%;
    left: 0;
}

.nav-button:hover a {
    color: var(--secondary-color);
}

.nav-button a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

#hamburger-menu,
#mobile-menu {
    display: none;
}

@media only screen and (max-width: 770px) {
    #mobile-menu {
        background-color: var(--primary-color);
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }

    .mobile-nav-items>ul {
        padding: 0px;
    }

    .mobile-nav-items>ul>li {
        text-align: center;
        position: relative;
        list-style: none;
        margin: 10px;
        padding: 10px 20px;
        cursor: pointer;
    }

    .mobile-nav-items>ul>li>a {
        color: var(--secondary-color);
        text-decoration: none;
    }

    .mobile-nav-items>ul>li::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 0.17rem;
        background-color: #a6cfef;
        left: 0;
        bottom: 0;
        transform-origin: 0% 100%;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .mobile-nav-items>ul>li:hover::after {
        transform: scaleX(1);
    }

    .mobile-nav-button {
        background-color: var(--secondary-color);
        border-radius: 50px;
        position: relative;
        display: inline-block;
        overflow: hidden;
        cursor: pointer;
    }

    .mobile-nav-button .anim-layer {
        position: absolute;
        top: 0;
        left: 50%;
        width: 0;
        height: 100%;
        background-color: var(--primary-color);
        transition: width 0.3s ease, left 0.3s ease;
    }

    .mobile-nav-button:hover .anim-layer {
        width: 100%;
        left: 0;
    }

    .mobile-nav-button:hover a {
        color: var(--secondary-color);
    }

    .mobile-nav-button a {
        display: block;
        padding: 10px 20px;
        color: var(--secondary-color);
        text-decoration: none;
        position: relative;
        z-index: 1;
    }

    .nav-items>ul,
    .nav-button {
        display: none;
    }

    #hamburger-cross {
        display: block;
        color: var(--body-color);
        cursor: pointer;
        font-size: 40px;
        position: absolute;
        top: 20px;
        right: 26px;
    }

    #hamburger-menu {
        display: block;
        color: var(--body-color);
        cursor: pointer;
        font-size: 24px;
    }
}


/* ==================== Hero Section Start ==================== */

.hero-section {
    background-image: url('images/top_image_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-color: rgba(25, 26, 35, 0.35); */
    background-blend-mode: overlay;
    padding: 6rem 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section p {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Hero 按钮 —— 默认黑色，hover 浅蓝 */
.hero-section .hero a.button,
.hero-section a.button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px 30px !important;
    color: var(--body-color) !important;
    background-color: var(--secondary-color) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    position: relative !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
}

.hero-section .hero a.button:hover,
.hero-section a.button:hover {
    background-color: #a6cfef !important;
    color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.4) !important;
}

/* 手机端：换成竖版背景图 */
@media (max-width: 770px) {
    .hero-section {
        background-image: url('images/phone_top_images.jpg');
        background-position: center top;
        min-height: auto;
        padding: 4rem 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}


/* ==================== Services Section Start ==================== */

.services .services-card.services-card-one,
.services .services-card.services-card-two {
    background-color: var(--body-color);
    border: 1px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    border-radius: 25px;
    padding: 25px;
}

.services .heading > h2,
.working-process .heading > h2,
.contact-us .heading > h2 {
    font-size: 24px;
    background-color: #a6cfef;
    line-height: 1;
    height: 40px;
    border-radius: 10px;
    padding: 7px;
}

.services .services-card.services-card-two {
    background-color: #a6cfef;
    padding: 34px 25px;
}

.services .services-card a i {
    color: #a6cfef;
    background-color: var(--secondary-color);
    width: 30px;
    height: 30px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transition: all 0.25s ease;
}

.services .services-card a:hover i {
    background-color: #a6cfef;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.services .services-card a {
    align-items: center;
    color: var(--secondary-color);
}


/* ==================== Working Process Start ==================== */

.working-process .accordion-item {
    border: 1px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--body-color);
}

.working-process .accordion-item .accordion-button {
    background-color: var(--body-color);
    padding: 20px 40px;
    border-bottom: 1px solid var(--secondary-color);
}

.working-process .accordion-item .accordion-collapse.collapse.show {
    background-color: #a6cfef;
    transition: all 0.2s ease-in-out;
}

.working-process .accordion-item .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    transition: all 0.2s ease-in-out;
    background-color: #a6cfef !important;
    box-shadow: none;
}

.working-process .accordion-item .accordion-button:focus {
    box-shadow: none;
}

.working-process .accordion-item .accordion-collapse .accordion-body {
    padding: 20px 40px;
}

.working-process .accordion-item .accordian-numbers {
    font-size: 44px;
    padding-right: 20px;
}

.accordion-button::after {
    background-image: none;
    font-family: "Font Awesome 6 Free";
    content: "\f068";
    height: 35px;
    width: 35px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    background-color: var(--body-color);
    color: var(--secondary-color);
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
    content: "\f067";
}

.working-process .accordion-item .collapsing {
    transition: all 0.3s ease-in-out;
}


/* ==================== Contact Us Start ==================== */

.contact-us .contact-wrapper {
    border-radius: 25px;
    padding: 40px 60px;
    background-color: var(--body-color);
}

.contact-us .contact-wrapper input,
.contact-us .contact-wrapper textarea {
    background-color: white;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 6px 12px;
}

.contact-us .contact-wrapper input:focus {
    box-shadow: none;
}

.contact-bg {
    position: absolute;
    right: -25px;
    bottom: 5px;
    width: 400px;
}
/* 默认（手机 / 平板）隐藏装饰图 */
.contact-bg {
    display: none;
}
/* PC 端（≥ 992px）才显示探出的图 */
@media (min-width: 1200px) {
    .contact-bg {
        display: block;
        position: absolute;
        right: -25px;
        bottom: 5px;
        width: 400px;
        max-width: 40%;
        pointer-events: none;
    }
}
/* 微信环境：无论什么尺寸，装饰图都隐藏 */
body.is-wechat .contact-bg {
    display: none !important;
}

/* 微信公众号环境：即使手机/平板也显示图片（放在表单下方，居中） */
/*body.is-wechat .contact-bg {*/
/*    display: block;*/
/*    position: static;*/
/*    width: 100%;*/
/*    max-width: 300px;*/
/*    margin: 30px auto 0;*/
/*    pointer-events: none;*/
/*}*/

/* 微信环境 + PC 尺寸：仍然从右侧探出 */
/*@media (min-width: 992px) {*/
/*    body.is-wechat .contact-bg {*/
/*        position: absolute;*/
/*        right: -25px;*/
/*        bottom: 5px;*/
/*        width: 400px;*/
/*        max-width: 40%;*/
/*        margin: 0;*/
/*    }*/
/*}*/
/* ==================== Footer Start ==================== */

footer {
    margin-top: 0;
}

/* footer 整体：背景图原样显示，不加遮罩 */
footer .footer-main-row {
    background-image: url('images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    overflow: hidden;
    border: none;
}

footer .footer-main-row > * {
    position: relative;
    z-index: 1;
}

/* ========== footer 内所有文字改黑色 ========== */
footer .footer-main-row,
footer .footer-main-row a,
footer .footer-main-row p,
footer .footer-main-row h2,
footer .footer-main-row li,
footer .footer-main-row ul,
footer .footer-main-row .text-white {
    color: #000 !important;
}

footer .social-icons a {
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 40px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    background-color: white;
}

/* ========== 订阅框（里面小背景） ========== */
footer .subscription {
    position: relative;
    padding: 60px 30px;
    border-radius: 25px;
    overflow: hidden;
}

/* 纯黑遮罩层，用 opacity 控制透明度 —— 颜色永远是纯黑，不会变灰 */
footer .subscription::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: 0.14;              /* ← 改这里：0.05 很淡 / 0.3 明显 / 0.5 半黑 / 0.9 几乎全黑 */
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* 里面的输入框、按钮浮在遮罩之上，不受 opacity 影响 */
footer .subscription > * {
    position: relative;
    z-index: 1;
}

footer .subscription input,
footer .subscription input:focus {
    background-color: transparent;
    border: 1px solid #000;
    box-shadow: none;
    padding: 10px 20px;
    color: #000 !important;
}

footer .subscription input::placeholder {
    color: #333 !important;
}

footer .subscription input[type='submit'] {
    background-color: #7ecef4;
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

footer .subscription input[type='submit']:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

footer .footer-info {
    border-bottom: none;
}