/* NewEra-新纪元 自定义样式 */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.site-title-tagline {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.py-120 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* 平板竖屏：主体内容区容器加宽（Bootstrap md 默认 720px 偏窄） */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    .main .container,
    header .main-navigation .container,
    footer .footer-widget .container,
    footer .copyright .container {
        max-width: min(900px, calc(100vw - 40px));
    }

    .footer-widget-wrapper {
        --bs-gutter-x: 12px;
    }

    .footer-widget-wrapper > .col-md-6.col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .footer-widget-wrapper .footer-widget-box {
        margin-bottom: 0;
    }

    .footer-logo-text {
        font-size: 1.15rem;
    }

    .footer-widget-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .footer-widget-box p,
    .footer-list li a,
    .footer-contact li,
    .footer-contact li a {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-list li a i,
    .footer-contact li i {
        font-size: 12px;
    }

    #contact .contact-panel {
        --bs-gutter-x: 12px;
    }
}

.hero-fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.8s ease forwards;
    animation-delay: var(--hero-delay, 0s);
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fade-in {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-wrapper {
    padding-bottom: 80px;
    overflow: hidden;
}

.about-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .about-area .about-row > .col-lg-6:first-child {
        display: flex;
    }

    .about-area .about-left {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
        height: 100%;
        min-height: 0;
        justify-content: stretch;
        align-items: stretch;
    }

    .about-area .about-img {
        position: relative;
        flex: 1;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        border-radius: 12px;
    }

    .about-area .about-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
}

@media (max-width: 991.98px) {
    .about-area .about-img {
        overflow: hidden;
        border-radius: 12px;
    }

    .about-area .about-img img {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

.choose-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
}

@media (min-width: 992px) {
    .choose-area .choose-row > .col-lg-6:first-child {
        display: flex;
    }

    .choose-area .choose-img {
        display: flex;
        flex: 1;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        border-radius: 12px;
    }

    .choose-area .choose-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
}

@media (max-width: 991.98px) {
    .choose-area .choose-img {
        overflow: hidden;
        border-radius: 12px;
    }

    .choose-area .choose-img img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

#scroll-top.is-visible {
    display: block;
}

.navbar-brand.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand.site-logo,
.navbar-brand.site-logo span {
    color: #fff !important;
}

.navbar-spacer {
    height: 0;
    pointer-events: none;
}

@media (min-width: 992px) {
    [id] {
        scroll-margin-top: 84px;
    }
}

.navbar.fixed-top .navbar-brand.site-logo,
.navbar.fixed-top .navbar-brand.site-logo span {
    color: #1E1660 !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: none;
        overflow: visible;
    }

    .navbar-collapse.collapsing {
        overflow: hidden;
    }
}

.hero-btn .theme-btn-outline {
    margin-left: 15px;
    background: transparent;
    border: 2px solid currentColor;
}

.hero-binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.footer-area {
    background-image: none;
    background: #1E1660;
}

.footer-area::before {
    display: none;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-widget-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

.footer-area .copyright {
    background: #171247;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.choose-content li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 18px;
}

.cta-area {
    background-image: url(../img/bar.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 70px;
    padding-bottom: 70px;
}

.cta-area::before {
    display: none;
}

.choose-content li::after {
    content: none;
}

.choose-content .choose-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 209, 171, 0.12);
    color: #00D1AB;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.choose-content li:hover .choose-item-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.choose-content li h5 {
    margin-bottom: 0;
    display: block;
}

.template-demo-area {
    background-color: #F8F9FF;
}

.template-demo-frame {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e6ee;
    box-shadow: 0 8px 24px rgba(30, 22, 96, 0.08);
}

.template-demo-toolbar {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    background: #f5f6f8;
    border-bottom: 1px solid #e2e6ee;
}

.template-demo-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.template-demo-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.template-demo-dots i:nth-child(1) {
    background: #ff5f57;
}

.template-demo-dots i:nth-child(2) {
    background: #febc2e;
}

.template-demo-dots i:nth-child(3) {
    background: #28c840;
}

.template-demo-frame iframe {
    display: block;
    width: 100%;
    height: 900px;
    border: 0;
}

@media (max-width: 767px) {
    .template-demo-frame iframe {
        height: 600px;
    }
}

.portfolio-masonry {
    position: relative;
    width: 100%;
    min-height: 50px;
}

.portfolio-masonry .case-item {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(30, 22, 96, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-masonry .case-item:hover {
    border-color: #000;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(30, 22, 96, 0.12);
}

.portfolio-area .case-img::before {
    display: none;
}

.portfolio-masonry .case-content {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 14px 16px;
    border-radius: 0;
    box-shadow: none;
}

.portfolio-preview {
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    position: relative;
    min-height: 120px;
    background: #f3f2f8;
}

.portfolio-preview img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    transition: transform 0.4s ease;
}

.portfolio-preview-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 22, 96, 0.45);
    color: #fff;
    font-size: 42px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-preview:hover img {
    transform: scale(1.05);
}

.portfolio-preview:hover .portfolio-preview-zoom {
    opacity: 1;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.92);
}

.portfolio-lightbox.is-open {
    display: flex;
}

body.portfolio-lightbox-open {
    overflow: hidden;
}

.portfolio-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.portfolio-lightbox-close:hover {
    background: #00D1AB;
}

.portfolio-lightbox-stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-lightbox-img {
    max-width: min(1200px, 100%);
    max-height: calc(100vh - 180px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-lightbox-info {
    margin-top: 24px;
    padding: 20px 28px;
    max-width: min(1200px, 100%);
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-lightbox-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #00D1AB;
    background: rgba(0, 209, 171, 0.15);
    border-radius: 20px;
    text-transform: uppercase;
}

.portfolio-lightbox-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

@media (max-width: 767px) {
    .portfolio-lightbox-title {
        font-size: 20px;
    }

    .portfolio-lightbox-info {
        padding: 16px 18px;
    }

    .portfolio-lightbox-img {
        max-height: calc(100vh - 220px);
    }
}

.portfolio-area .case-content-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1E1660;
}

.portfolio-area .case-content-info h4 a {
    font-size: inherit;
    color: #1E1660;
}

.portfolio-area .case-content-info h4 a:hover {
    color: #00D1AB;
}

.portfolio-masonry .case-arrow {
    cursor: default;
}

/* FAQ 手风琴：i18n 文本 span 不受图标尺寸样式影响 */
.faq-area .accordion-button {
    display: flex;
    align-items: center;
}

.faq-area .accordion-button > span[data-i18n^="faq.q"] {
    width: auto;
    height: auto;
    margin-right: 0;
    flex: 1;
    line-height: 1.5;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    right: 0;
    top: 38%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 999;
    font-family: inherit;
}

@keyframes langBtnPulse {
    0%,
    100% {
        box-shadow: -2px 3px 14px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(0, 209, 171, 0.45);
    }

    50% {
        box-shadow: -2px 4px 18px rgba(0, 0, 0, 0.14), 0 0 0 10px rgba(0, 209, 171, 0);
    }
}

@keyframes langGlobeSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes langBtnNudge {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

.lang-switcher-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 64px;
    height: 64px;
    padding: 0 16px;
    border: none;
    border-radius: 50px 0 0 50px;
    background: #00D1AB;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: -2px 3px 16px rgba(0, 0, 0, 0.12);
    animation: langBtnPulse 2.8s ease-in-out infinite, langBtnNudge 3.6s ease-in-out infinite;
    transition: background 0.2s ease;
}

.lang-switcher-toggle i {
    font-size: 24px;
    animation: langGlobeSpin 10s linear infinite;
}

.lang-switcher-toggle:hover,
.lang-switcher.is-open .lang-switcher-toggle {
    animation: none;
    transform: translateX(-3px);
    box-shadow: -3px 4px 20px rgba(0, 0, 0, 0.16);
}

.lang-switcher-toggle:hover i,
.lang-switcher.is-open .lang-switcher-toggle i {
    animation: none;
}

.lang-switcher-toggle:hover {
    background: #00b894;
}

.lang-switcher.is-open .lang-switcher-toggle:hover {
    transform: translateX(-3px);
}

.lang-switcher.is-open .lang-switcher-toggle {
    width: auto;
    min-width: 64px;
    padding-right: 20px;
    background: #1E1660;
}

.lang-switcher-menu {
    position: absolute;
    right: 0;
    left: auto;
    bottom: calc(100% + 12px);
    min-width: 160px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #e9ecef;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transform-origin: bottom right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lang-switcher.is-open .lang-switcher-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #1E1660;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-switcher-option:hover {
    background: #f5f5f5;
}

.lang-switcher-option.is-active {
    background: #f0faf8;
    color: #00a88a;
    font-weight: 600;
}

.lang-switcher-flag {
    font-size: 18px;
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    .lang-switcher-toggle,
    .lang-switcher-toggle i {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .lang-switcher {
        top: 36%;
    }

    .lang-switcher-toggle {
        width: 56px;
        height: 56px;
    }

    .lang-switcher-toggle i {
        font-size: 22px;
    }
}

/* Online Message Widget */
.message-widget {
    position: fixed;
    right: 0;
    top: calc(38% + 84px);
    z-index: 1000;
    font-family: inherit;
}

.message-widget.is-open {
    z-index: 10050;
}

.message-widget-toggle {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 64px;
    height: 64px;
    padding: 0 16px;
    border: none;
    border-radius: 50px 0 0 50px;
    background: #1E1660;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: -2px 3px 16px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.message-widget-toggle i {
    font-size: 22px;
}

.message-widget-label {
    display: none;
    white-space: nowrap;
}

.message-widget-toggle:hover {
    background: #2a2080;
    transform: translateX(-3px);
    box-shadow: -3px 4px 20px rgba(0, 0, 0, 0.16);
}

.message-widget.is-open .message-widget-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
}

.message-widget-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 22, 96, 0.35);
    z-index: 1;
}

.message-widget.is-open .message-widget-overlay {
    display: block;
}

.message-widget-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    padding: 24px;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    visibility: hidden;
    pointer-events: none;
}

.message-widget-panel .message-widget-header {
    flex-shrink: 0;
}

.message-widget-panel .message-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.message-success-toast {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.82);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.message-success-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.message-success-toast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 280px);
    padding: 28px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(30, 22, 96, 0.18);
    border: 2px solid #00D1AB;
    text-align: center;
    transform: scale(0.92);
    animation: messageSuccessPop 0.28s ease forwards;
}

.message-success-toast-card i {
    font-size: 52px;
    color: #00D1AB;
    line-height: 1;
}

.message-success-toast-text {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #1E1660;
}

@keyframes messageSuccessPop {
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .message-success-toast-card {
        animation: none;
        transform: none;
    }
}

.message-widget.is-open .message-widget-panel {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

body.message-widget-open {
    overflow: hidden;
}

.message-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.message-widget-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1E1660;
}

.message-widget-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #1E1660;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.message-widget-close:hover {
    background: #e9ecef;
}

.message-form-group {
    margin-bottom: 18px;
}

.message-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1E1660;
}

.message-form-group input,
.message-form-group select,
.message-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.message-form-group input:focus,
.message-form-group select:focus,
.message-form-group textarea:focus {
    outline: none;
    border-color: #00D1AB;
    box-shadow: 0 0 0 3px rgba(0, 209, 171, 0.15);
}

.message-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.message-form-hint {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #6c757d;
}

.message-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-captcha-row input {
    flex: 1;
    min-width: 0;
}

.message-captcha-row img {
    flex-shrink: 0;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #dee2e6;
}

.message-captcha-refresh {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    color: #1E1660;
    cursor: pointer;
    transition: background 0.15s ease;
}

.message-captcha-refresh:hover {
    background: #e9ecef;
}

.message-form-feedback {
    min-height: 20px;
    margin-bottom: 12px;
    font-size: 13px;
}

.message-form-feedback.is-error {
    color: #dc3545;
}

.message-form-feedback.is-success {
    color: #00a88a;
}

.message-form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

.message-form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-message-form-wrap {
    position: relative;
}

#contact .contact-panel {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
    overflow: hidden;
}

#contact .contact-panel::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 5px;
    background: #00D1AB;
    border-radius: 8px;
}

#contact .contact-panel-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    min-height: 100%;
}

#contact .contact-panel-info {
    padding: 40px 36px;
    background: #00D1AB;
    color: #fff;
}

#contact .contact-panel-info-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

#contact .contact-panel-info-desc {
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

#contact .contact-info-list {
    margin: 0;
}

#contact .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#contact .contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#contact .contact-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

#contact .contact-info-content h5 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

#contact .contact-info-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
}

#contact .contact-info-content a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

#contact .contact-info-content a:hover {
    opacity: 0.85;
}

#contact .contact-panel-form {
    padding: 40px 40px 48px;
    background: #fff;
}

#contact .contact-message-form-head {
    text-align: left;
    margin-bottom: 24px;
}

#contact .contact-message-form-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1E1660;
}

#contact .contact-message-form-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    text-align: left;
}

#contact .contact-message-form .message-form-group input,
#contact .contact-message-form .message-form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border-color: #e9ecef;
    background: #fafbfc;
}

#contact .contact-message-form .message-form-group input:focus,
#contact .contact-message-form .message-form-group textarea:focus {
    background: #fff;
}

#contact .contact-message-form .message-form-submit {
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    display: block;
    padding: 14px 32px;
}

@media (max-width: 991px) {
    #contact .contact-panel-inner {
        grid-template-columns: 1fr;
    }

    #contact .contact-panel-info {
        padding: 32px 28px;
    }

    #contact .contact-panel-form {
        padding: 32px 28px 40px;
    }
}

@media (max-width: 767px) {
    #contact .contact-panel-info {
        padding: 28px 20px;
    }

    #contact .contact-panel-form {
        padding: 28px 20px 36px;
    }

    #contact .contact-panel-info-title {
        font-size: 20px;
    }

    #contact .contact-message-form-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .message-widget {
        top: calc(36% + 76px);
    }

    .message-widget-toggle {
        width: 56px;
        height: 56px;
    }

    .message-widget-toggle i {
        font-size: 20px;
    }

    .message-widget-panel {
        max-width: 100%;
        padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    }

    .message-widget-panel .message-widget-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .message-widget-panel .message-widget-header h3 {
        font-size: 18px;
    }

    .message-widget-panel .message-form-group {
        margin-bottom: 10px;
    }

    .message-widget-panel .message-form-group label {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .message-widget-panel .message-form-group input,
    .message-widget-panel .message-form-group textarea {
        padding: 8px 12px;
        font-size: 14px;
    }

    .message-widget-panel .message-form-group textarea {
        min-height: 68px;
    }

    .message-widget-panel .message-form-hint {
        margin-top: 4px;
        font-size: 11px;
        line-height: 1.4;
    }

    .message-widget-panel .message-captcha-row img {
        width: 100px;
        height: 36px;
    }

    .message-widget-panel .message-captcha-refresh {
        width: 36px;
        height: 36px;
    }

    .message-widget-panel .message-form-feedback {
        min-height: 14px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .message-widget-panel .message-form-submit {
        padding: 11px 20px;
        margin-bottom: 4px;
    }

    .message-widget-panel .message-form {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}
