/*===========================================
	=         Soft7Art Hero Effect CSS     =
=============================================*/

/* Hero section: unified block */
.hero-wrapper.hero-1,
.hero-wrapper.hero-intl {
    position: relative;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%) !important;
    overflow: hidden;
    z-index: 1;
    min-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 90px !important;
    padding-bottom: 45px !important;
}



/* Moving Pink Color Accents */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgb(var(--theme-color-rgb) / 0.12) 0%, rgb(var(--theme-color-rgb) / 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: moveGlow 25s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: -12s;
    background: radial-gradient(circle, rgb(var(--theme-color-rgb) / 0.08) 0%, rgb(var(--theme-color-rgb) / 0) 70%);
}

@keyframes moveGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(15vw, 10vh) scale(1.2);
    }

    66% {
        transform: translate(-5vw, 20vh) scale(0.9);
    }

    100% {
        transform: translate(10vw, -5vh) scale(1.1);
    }
}

/* Ensure hero content stays above canvas and blobs */
.hero-style1,
.hero-style-intl {
    position: relative;
    z-index: 10;
}

#noise-wave-canvas {
    z-index: 2 !important;
}

/*===========================================
	= AR/ZH Elegant Centered Hero Design  =
=============================================*/
.hero-style-intl {
    padding: 185px 0 80px;
    text-align: center;
}

.hero-style-intl .hero-title {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: -3px;
    line-height: normal;
    padding-top: 10px;
    margin-bottom: 0;
    color: var(--title-color);
    text-align: center !important;
}

.hero-style-intl .hero-title.intl-line2 {
    margin-bottom: 30px;
}

.hero-style-intl .hero-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 0;
    margin-top: 25px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-style-intl .btn-group {
    margin-top: 35px;
    justify-content: center;
    display: flex;
}

.hero-style-intl .hero-year-tag {
    justify-content: center;
    margin: 60px auto 0;
}

/* AR font */
.lang-ar .hero-style-intl .hero-title,
.lang-ar .hero-style-intl .hero-text,
.lang-ar .hero-style-intl {
    font-family: 'Noto Sans Arabic', sans-serif;
}

.lang-ar .hero-style-intl .hero-title {
    line-height: 1.3;
    font-weight: 700;
}

/* Ligne 2 (slogans rotatifs) : centrage explicite en arabe (RTL) */
.lang-ar .hero-style-intl .hero-title.intl-line2 {
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.lang-ar .hero-style-intl .hero-title.intl-line2 .slogan-container {
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    width: 100%;
    max-width: 100%;
}

/* ZH font */
.lang-zh .hero-style-intl .hero-title,
.lang-zh .hero-style-intl .hero-text,
.lang-zh .hero-style-intl {
    font-family: 'Noto Sans TC', sans-serif;
}

.lang-zh .hero-style-intl .hero-title {
    letter-spacing: 0.05em;
    line-height: 1.3;
    font-weight: 700;
}

/* Responsive - Desktop large */
@media (max-width: 1399px) {
    .hero-style-intl .hero-title {
        font-size: 80px;
    }
}

@media (max-width: 1199px) {
    .hero-style-intl .hero-title {
        font-size: 60px;
        letter-spacing: -2px;
    }
}

@media (max-width: 767px) {
    .hero-style-intl .hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-style-intl .hero-text {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 575px) {
    .hero-style-intl .hero-title {
        font-size: 34px;
    }
}

/*===========================================
	=         Footer Light Theme           =
=============================================*/
.footer-wrapper {
    color: #0A0C00 !important;
}

.footer-wrapper h1,
.footer-wrapper h2,
.footer-wrapper h3,
.footer-wrapper h4,
.footer-wrapper h5,
.footer-wrapper h6,
.footer-wrapper p,
.footer-wrapper a,
.footer-wrapper span,
.footer-wrapper li {
    color: #0A0C00 !important;
}

.footer-wrapper a:hover {
    color: var(--theme-color) !important;
}

.footer-wrapper .footer-top-title {
    color: #0A0C00 !important;
}

/* Button text stays white */
.footer-wrapper .btn,
.footer-wrapper .btn span,
.footer-wrapper .btn .effect-1 {
    color: #ffffff !important;
}

/* Arrow indicator on footer menu links */
.footer-wrapper .footer-menu-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-wrapper .footer-menu-list a::after {
    content: '→';
    font-size: 0.85em;
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.25s ease;
    color: #0A0C00;
    opacity: 0.5;
}

.footer-wrapper .footer-menu-list a:hover::after {
    transform: translateX(6px);
    opacity: 1;
    color: var(--theme-color) !important;
}

/*===========================================
	=         Slogan Animation Fix         =
=============================================*/
.slogan-container {
    display: inline-block;
    vertical-align: top;
    height: 1.4em;
    overflow: hidden;
    position: relative;
}

.slogan-item {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    white-space: normal;
}


.slogan-item.active {
    position: relative;
    top: 0;
    opacity: 1;
}

/* Intl hero slogans: centered */
.hero-style-intl .slogan-container {
    text-align: center;
}

.hero-style-intl .slogan-item {
    right: auto;
    /* override style.css .slogan-item { right:0 } so centering works in RTL/Arabic */
    left: 50%;
    transform: translateX(-50%);
}

.hero-style-intl .slogan-item.active {
    transform: translateX(-50%);
}

/*===========================================
	=         Professional Mobile Reform   =
=============================================*/

@media (max-width: 991px) {

    /* Full height hero on mobile */
    .hero-wrapper.hero-1,
    .hero-wrapper.hero-intl {
        min-height: 90vh !important;
        height: auto;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%) !important;
    }

    .hero-style1 .btn-group,
    .hero-style-intl .btn-group {
        margin-top: 20px !important;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-style1 .btn.btn-pink,
    .hero-style-intl .btn.btn-pink {
        width: auto;
        max-width: 90%;
        padding: 18px 35px !important;
        font-size: 15px !important;
        font-weight: 700;
        letter-spacing: 0.5px;
        box-shadow: 0 10px 25px rgb(var(--theme-color-rgb) / 0.2);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .hero-style1 .btn.btn-pink .link-effect,
    .hero-style-intl .btn.btn-pink .link-effect {
        height: auto !important;
        overflow: hidden;
        white-space: nowrap;
    }

    .hero-style1 .btn.btn-pink .link-effect .effect-1:last-child,
    .hero-style-intl .btn.btn-pink .link-effect .effect-1:last-child {
        display: none !important;
    }

    .hero-style1 .container,
    .hero-style-intl .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-style1 {
        padding: 83px 0 31px !important;
    }

    .hero-title {
        line-height: 1.1 !important;
        margin-bottom: 15px !important;
        color: #000;
        font-weight: 700;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: visible !important;
    }

    .hero-title .style-innovation {
        font-size: 11vw !important;
        display: block;
        width: 100%;
        line-height: 1;
        letter-spacing: -1px;
        overflow: visible !important;
        opacity: 0.9;
    }

    .hero-title .style-generation {
        font-size: 20vw !important;
        margin-left: 0 !important;
        display: block;
        width: 100%;
        line-height: 1.2 !important;
        margin-top: -5px;
        letter-spacing: -1px;
        font-family: 'Zofiere Italic', serif !important;
        overflow: visible !important;
        padding-bottom: 0;
    }

    .hero-title .slogan-container {
        display: block;
        margin: 5px auto 0 !important;
        text-align: center !important;
        width: 100%;
        height: 1.5em;
        overflow: hidden;
    }

    .hero-title .slogan-item {
        font-size: 0.85em;
        /* Slightly smaller to fit long words */
        letter-spacing: 0;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.7;
        color: #444;
        max-width: 95%;
        margin: 10px auto 15px !important;
        text-align: center !important;
    }

    .btn-group {
        justify-content: center;
        display: flex;
        width: 100%;
    }

    .hero-year-tag {
        position: relative;
        margin: 50px auto 0 !important;
        justify-content: center;
        width: fit-content;
        background: rgba(0, 0, 0, 0.03);
        padding: 12px 20px;
        border-radius: 50px;
    }

    .hero-year-tag h6 {
        font-size: 11px !important;
        margin-bottom: 0;
        text-align: left;
    }

    /* Intl hero mobile */
    .hero-style-intl {
        padding: 108px 0 36px !important;
    }

    .hero-style-intl .hero-title {
        font-size: 38px !important;
    }

    .hero-style-intl .hero-year-tag {
        margin: 30px auto 0 !important;
    }

    /* Top Navigation Polish (logo image raster si utilisé) */
    .header-logo img {
        height: 49.5px !important; /* −10 % vs 55px */
    }

    .sticky-wrapper.header-sticky {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.85) !important;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 28px !important;
        padding: 0 10px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-wrapper.hero-1,
    .hero-wrapper.hero-intl {
        padding-top: 65px !important;
        padding-bottom: 16px !important;
    }

    .hero-style1 {
        padding: 67px 0 22px !important;
    }

    .hero-style-intl .hero-title {
        font-size: 30px !important;
    }
}

/* Force Accordion Vertical Layout */
.accordion-card {
    display: flex !important;
    flex-direction: column !important;
}

.accordion-collapse {
    width: 100% !important;
}

/* Force Pillar Title to 2 lines */
.pillar-title-text {
    /* max-width: 320px; */
    display: inline-block;
    line-height: 1.2;
    vertical-align: middle;
}

.accordion-card .accordion-body {
    border-radius: 0;
    background-color: transparent;
    border: none;
    padding: 2px 60px 0px 76px;
    margin-top: 0.5em;
    /* max-width: 365px; */
}

.service-sub-card a,
.service-sub-title {
    white-space: nowrap !important;
    display: block !important;
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
    .service-sub-card a,
    .service-sub-title {
        white-space: normal !important;
    }
}


.service-sub-card:hover .service-sub-title,
.service-sub-card:hover i {
    color: var(--theme-color) !important;
}

.service-details-hero {
    padding: 171px 0 41px;
    background: #F9F8F4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Testimonials Marquee */
.marquee-testi-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.marquee-testi-content {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee-testi 120s linear infinite;
}

.marquee-testi-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    margin-right: 150px;
    white-space: nowrap;
}

@keyframes marquee-testi {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ensure clean transition without horizontal scroll */
body {
    overflow-x: hidden;
}

/* Fix for overlapping interactive elements */
.sidemenu-content * {
    position: relative;
    z-index: 10;
}

#tubes-canvas {
    pointer-events: none;
    z-index: 1 !important;
}

.mobile-menu-wrapper {
    backdrop-filter: blur(10px);
}

/* Preloader refinement */
.preloader {
    background-color: #ffffff !important;
}

/* Section Spacing Consistency */
.space,
.space-top {
    padding-top: var(--section-space-mobile);
}

.space,
.space-bottom {
    padding-bottom: var(--section-space-mobile);
}

.bg-white, .nav-header, .sticky-wrapper, .header-layout3 {
    background-color: #fcfcfc !important;
}

@media (min-width: 1200px) {

    .space,
    .space-top {
        padding-top: var(--section-space);
    }

    .space,
    .space-bottom {
        padding-bottom: var(--section-space);
    }
}