.banner-desc-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-desc-box-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.banner-desc-box-content {
    color: #fff;
    font-size: 18px;
}

/* About Section Styles */
.about-section,
.factory-section {
    padding: 80px 20px;
    background: #fff;
}

.about-container,
.factory-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0;
}

.about-row {
    display: flex;
    gap: 50px;
    align-items: stretch;
    flex-direction: row-reverse;
}

@media (min-width: 768px) and (max-width: 1365px) {
    .about-row {
        gap: 20px;
    }
}

.factory-row {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-direction: row-reverse;
}

.about-text-column {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.factory-text-column {
    width: 50%;
}

.about-image-column,
.factory-image-column {
    width: 50%;
    position: relative;
}

.about-image-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* semi-transparent black */
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: 1;
}

.about-image-column:hover::after {
    opacity: 1;
}

@media (max-width: 991px) {

    .about-text-column,
    .factory-text-column {
        width: 100%;
    }

    .about-image-column,
    .factory-image-column {
        width: 100%;
        position: relative;
    }
}

.about-title,
.factory-title {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
}

.about-description,
.factory-description {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
}

.about-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.factory-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.discover-more-btn {
    display: flex;
    background-color: #565656;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 54px;
}

.discover-more-btn:hover {
    color: #fff;
}

.button-text-wrapper {
    display: inline-block;
    height: 1.2em;
    line-height: 1.2em;
    overflow: hidden;
    position: relative;
}

.button-text-original,
.button-text-hover {
    display: block;
    transition: transform 0.3s ease-in-out;
}

.button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
}

.discover-more-btn:hover .button-text-original {
    transform: translateY(-100%);
}

.discover-more-btn:hover .button-text-hover {
    transform: translateY(0);
}

/* Tablet Styles */
@media (max-width: 991px) {

    .about-section,
    .factory-section {
        padding: 60px 0;
    }

    .about-row,
    .factory-row {
        flex-direction: column;
        gap: 30px;
    }

    .about-text-column,
    .factory-text-column {
        order: 1;
        text-align: center;
    }

    .about-image-column,
    .factory-image-column {
        order: 2;
    }

    .about-title,
    .factory-title {
        font-size: 30px;
    }

    .about-description,
    .factory-description {
        font-size: 15px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {

    .about-section,
    .factory-section {
        padding: 40px 0;
    }

    .about-container,
    .factory-container {
        padding: 0 15px;
    }

    .about-title,
    .factory-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .about-description,
    .factory-description {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }

    .discover-more-btn {
        padding: 10px 25px;
        font-size: 14px;
        margin:auto;
    }
}

/* Pillars Section Styles */
.pillars-section {
    padding: 80px 0;
    background-color: #fff;
}

.pillars-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pillars-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

.pillars-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pillar-item {
    display: flex;
    gap: 50px;
    align-items: center;
}

.pillar-image-wrapper {
    flex: 0 0 45%;
    border-radius: 12px;
    overflow: hidden;
}

.pillar-image {
    width: 100%;
    height: auto;
    display: block;
}

.pillar-content {
    flex: 1;
}

.pillar-heading {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
}

.pillar-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Tablet Styles */
@media (max-width: 991px) {
    .pillars-section {
        padding: 60px 0;
    }

    .pillars-title {
        font-size: 36px;
    }

    .pillars-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .pillar-item {
        flex-direction: column;
        gap: 20px;
    }

    .pillar-image-wrapper {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .pillars-section {
        padding: 40px 0;
    }

    .pillars-container {
        padding: 0 15px;
    }

    .pillars-title {
        font-size: 32px;
    }

    .pillars-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .pillar-heading {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .pillar-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    padding: 20px 0;
    background-color: #fff;
}

.breadcrumb-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #222;
}

.breadcrumb-item.active {
    color: #222;
    font-weight: 500;
}

.home-icon {
    display: flex;
    align-items: center;
}

.home-icon img {
    width: 16px;
    height: 16px;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .breadcrumb-nav {
        padding: 15px 0;
    }

    .breadcrumb-container {
        padding: 0 15px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 8px;
    }

    .home-icon img {
        width: 14px;
        height: 14px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    display: none;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

/* Team Section Styles */
.team-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.team-content {
    display: flex;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.team-info {
    flex: 0 0 calc(40% - 25px);
    /* 考虑间距的33% */
    max-width: calc(40% - 25px);
}

.team-image {
    flex: 0 0 calc(60% - 25px);
    /* 考虑间距的67% */
    max-width: calc(60% - 25px);
    width: 100%;
}

.team-title {
    font-size: 42px;
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
}

.team-text-swiper {
    height: auto;
}

.team-text {
    padding: 20px 0;
}

.team-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.team-text p:last-child {
    margin-bottom: 0;
}

.team-image-swiper {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.team-image-swiper .swiper-slide {
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 比例 */
    position: relative;
}

.team-image-swiper .swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100px;
    padding: 8px 15px;
    font-size: 0;
    /* 消除分页器之间的间隙 */
}

.team-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    vertical-align: middle;
    border-radius: 50%;
}

.team-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 10px;
    height: 10px;
}

/* Tablet Styles */
@media (max-width: 991px) {
    .team-section {
        padding: 60px 0;
    }

    .team-content {
        flex-direction: column;
        gap: 30px;
    }

    .team-info,
    .team-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .team-title {
        font-size: 36px;
        text-align: center;
    }

    .team-text {
        text-align: center;
    }

    .team-image-swiper .swiper-slide {
        padding-top: 66.67%;
        /* 3:2 比例，更适合平板 */
    }

    .team-pagination {
        text-align: center;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .team-section {
        padding: 40px 0;
    }

    .team-container {
        padding: 0 15px;
    }

    .team-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .team-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .team-image-swiper .swiper-slide {
        padding-top: 75%;
        /* 4:3 比例，更适合手机 */
    }

    .team-pagination {
        padding: 6px 12px;
        bottom: 15px !important;
    }

    .team-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
    }

    .team-pagination .swiper-pagination-bullet-active {
        width: 8px;
        height: 8px;
    }
}

/* Contact Section Styles */
.contact-section-box {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-image {
    flex: 0 0 calc(55% - 25px);
    border-radius: 12px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info {
    flex: 0 0 calc(45% - 25px);
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 42px;
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: #222;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: #000;
}

.contact-link:hover .arrow {
    transform: translateX(5px);
}

/* Tablet Styles */
@media (max-width: 991px) {
    .contact-section-box {
        padding: 60px 0;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-image,
    .contact-info {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-subtitle {
        font-size: 16px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .contact-section-box {
        padding: 40px 0;
    }

    .contact-container {
        padding: 0 15px;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .contact-subtitle {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .contact-link {
        font-size: 16px;
    }
}

.play-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.play-button:focus-visible {
    outline: none;
}

.play-button svg {
    fill: #ffffff;
    width: 30px;
    height: 30px;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.factory-image-swiper {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.factory-image-swiper .swiper-slide {
    width: 100%;
}

.factory-image-swiper .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.factory-image-swiper .swiper-pagination-bullet {
    background-color: #fff;
}

.factory-image-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.factory-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100px;
    padding: 8px 15px;
    font-size: 0;
    /* 消除分页器之间的间隙 */
}

.factory-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    vertical-align: middle;
    border-radius: 50%;
}

.factory-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 10px;
    height: 10px;
}

/* PC/Pad Layout (Hidden on Mobile) */
.service-process-content {
    display: flex;
    gap: 50px;
    /* Space between image and text */
}

.service-process-image-container {
    flex: 1 1 50%;
    /* Image takes up half the space */
    position: relative;
    /* For sticky positioning context */
}

.service-process-image {
    position: sticky;
    top: 200px;
    /* Adjust based on your header height or desired sticky position */
    width: 100%;
    height: 60vh;
    /* Example height, adjust as needed */
    max-height: 500px;
    /* Max height */
    overflow: hidden;
    background-color: #f0f0f0;
    /* Placeholder background */
}

.service-process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease-in-out;
    /* For potential fade effect */
}

.service-process-steps {
    flex: 1 1 50%;
    /* Steps take up the other half */
    padding-top: 15vh;
    /* Add padding above first step */
    padding-bottom: 15vh;
    /* Add padding below last step */
}

.step-item {
    margin-bottom: 60px;
    /* Moderate margin between items */
    padding: 20px 0;
    color: #888;
    /* Default inactive color (gray) */
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.step-item:last-child {
    margin-bottom: 0;
    /* Remove margin for the last item, rely on container padding */
}

.step-item.active {
    color: #212529;
    /* Active color (black) */
    opacity: 1.0;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.step-number {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #6c757d;
    /* Lighter color for number */
    margin-bottom: 5px;
}

.step-item.active .step-number {
    color: #333;
    /* Slightly darker number when active */
}


.step-description {
    font-size: 16px;
    line-height: 1.7;
}

/* Mobile Layout (Hidden on PC/Pad) */
.service-process-slider {
    display: none;
    /* Hidden by default */
    width: 100%;
    margin-top: 40px;
    padding-bottom: 40px;
    /* Space for pagination */
}

.service-process-slider .swiper-slide {
    text-align: center;
}

.swiper-slide-image {
    width: 100%;
    max-width: 400px;
    /* Limit image size on mobile */
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    /* Center image */
    display: block;
}

.service-process-slider .step-title {
    font-size: 20px;
}

.service-process-slider .step-number {
    font-size: 16px;
}

.service-process-slider .step-description {
    font-size: 15px;
    padding: 0 10px;
    /* Add some horizontal padding */
}

.service-process-slider .swiper-pagination {
    bottom: 10px !important;
    /* Adjust Swiper pagination position */
}

.service-process-slider .swiper-pagination-bullet {
    background-color: #aaa;
    opacity: 0.8;
}

.service-process-slider .swiper-pagination-bullet-active {
    background-color: #ff6c00;
    /* Active bullet color */
    opacity: 1;
}

.learn-more-text-wrapper {
    position: relative;
    display: inline-block;
    height: 1.2em;
    /* 根据字体大小调整，例如 15px * 1.2 = 18px */
    line-height: 1.2em;
    /* 保持与高度一致 */
    overflow: hidden;
    vertical-align: middle;
    /* 尝试对齐 */
    margin-right: 5px;
    /* 在文本和箭头之间添加一些间距 */
}

.slide-text-original,
.slide-text-hover {
    display: block;
    /* 使 transform 生效 */
    transition: transform 0.3s ease-in-out;
}

.slide-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    /* 初始状态：在下方隐藏 */
}

.contact-link:hover .slide-text-original {
    transform: translateY(-100%);
    /* 原始文本向上滑出 */
}

.contact-link:hover .slide-text-hover {
    transform: translateY(0%);
    /* 悬停文本从下方滑入 */
}

.contact-link svg {
    /* margin-left: 5px; */
    /* 间距已改到 .learn-more-text-wrapper 的 margin-right */
    transition: transform 0.3s ease-in-out;
    /* 控制恢复和滑动的动画时间 */
    transform: translateX(0);
    /* 明确初始位置 */
}

.contact-link:hover svg {
    transform: translateX(8px);
    /* 鼠标悬停时向右滑动8px */
    /* 移除 animation 属性 */
}

.site-footer {
    background: #fff !important;
}

.factory-title {
    font-size: 48px;
    font-weight: 700;
    width: 100%;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.factory-subtitle {
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}


.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1400px;
    /* Max width of the features grid */
    margin: 0 auto;
}

.feature-card {
    background-color: #fff;
    padding: 15px 10px;
    border: 1px solid #CFCFCF;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-card-number-container {
    display: flex;
    align-items: baseline;
    /* Aligns number and suffix */
    justify-content: center;
    margin-bottom: 10px;
}

.feature-number {
    font-size: 24px;
    color: #000;
    line-height: 1;
}

.feature-suffix {
    font-size: 24px;
    /* Slightly smaller suffix */
    font-weight: bold;
    color: #333;
    margin-left: 2px;
    /* Space between number and suffix */
    line-height: 1;
}

.feature-description {
    font-size: 16px;
    color: #000;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

/* Responsive adjustments for Features Section */
@media (max-width: 991px) {
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .showroom-hero-title {
        font-size: 30px;
    }

    .features-section-main-title {
        font-size: 28px;
    }

    .feature-number {
        font-size: 40px;
    }

    .feature-suffix {
        font-size: 24px;
    }
}

@media (max-width: 767px) {

    .showroom-hero-section,
    .showroom-features-section {
        padding: 40px 0;
    }

    .showroom-hero-title {
        font-size: 26px;
    }

    .features-section-main-title {
        font-size: 24px;
    }

    .hero-play-button {
        width: 70px;
        height: 70px;
    }

    .hero-play-button .play-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 575px) {
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Single column on very small screens */
        gap: 20px;
    }

    .showroom-hero-title {
        font-size: 22px;
    }

    .features-section-main-title {
        font-size: 20px;
    }

    .feature-number {
        font-size: 36px;
    }

    .feature-suffix {
        font-size: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .hero-play-button {
        width: 60px;
        height: 60px;
    }

    .hero-play-button .play-icon {
        width: 30px;
        height: 30px;
    }
}

.bg-f7f7f7 {
    background-color: #f7f7f7;
}

/* Book a Visit Section Styles */
.book-visit-section {
    padding: 80px 0;
    margin-top: -200px;
}

.book-visit-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #D1D5DB;
}

.book-visit-title {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 80px;
}

.book-visit-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    text-align: left; /* Aligning paragraph text to left for readability */
    margin-bottom: 15px;
}

.book-visit-description:last-of-type {
    margin-bottom: 30px; /* More space before the form */
}
.visit-form{
    width: 80%;
    margin: 0 auto;
}
.visit-form .form-row {
    display: flex;
    gap: 20px;
}

.visit-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For icon positioning */
}

.visit-form .form-group.full-width {
    flex-basis: 100%;
}

.visit-form label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.visit-form input[type="text"],
.visit-form input[type="email"],
.visit-form input[type="date"],
.visit-form input[type="time"],
.visit-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.visit-form input[type="date"],
.visit-form input[type="time"] {
    padding-right: 40px; /* Space for icon */
}

.visit-form input:focus,
.visit-form textarea:focus {
    border-color: #007bff; /* Highlight on focus */
    outline: none;
}

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

.visit-form .form-group .date-icon,
.visit-form .form-group .time-icon {
    position: absolute;
    right: 15px;
    top: calc(50% + 4px); /* Adjust based on label height and input padding */
    transform: translateY(-50%);
    width: 16px; /* Adjust icon size as needed */
    height: 16px;
    pointer-events: none; /* Icon is decorative */
}

.visit-form .form-group .date-icon img,
.visit-form .form-group .time-icon img {
    width: 100%;
    height: 100%;
}

.visit-form .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.visit-form .refresh-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.visit-form .refresh-button img {
    width: 24px; /* Adjust icon size */
    height: 24px;
}

.visit-form .send-message-button {
    /* padding: 12px 30px; */
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 150px;
    height: 50px;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.visit-form .send-message-button:hover {
    background-color: #333;
}
.upload-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 15px;
    bottom: 0px;
    transform: translateY(-50%);
    pointer-events: none;
}

.video-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 960px;
    height: 540px;
    position: relative;
    background: #ffffff;
}

@media (max-width: 767px) {
    .video-box {
        width: 90%;
        height: 300px;
    }
}

.dialog-close {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    width: 27px;
}

.invalid-feedback{
    position: absolute;
    bottom:-23px;
    left:0;
}