/* 页脚、弹窗、回到顶部按钮等通用组件样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2.55rem 10% 0.85rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
    gap: 1.7rem;
    margin-bottom: 1.7rem;
}

.footer-section h3 {
    font-size: 1.105rem;
    margin-bottom: 0.85rem;
    position: relative;
    padding-bottom: 0.425rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42.5px;
    height: 2px;
    background-color: #4CAF50;
}

.footer-section p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.425rem;
}

.footer-links a, .footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover, .footer-bottom a:hover {
    color: #4CAF50;
}

/* 感谢信息样式 */
.footer-thanks {
    text-align: center;
    padding: 1.7rem 0 1.275rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.7rem;
}

.thanks-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.275rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.thanks-logo {
    height: 42.5px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.thanks-main a {
    display: inline-block;
    text-decoration: none;
}

.thanks-main a:hover .thanks-logo {
    transform: scale(1.1);
    opacity: 0.8;
}

.thanks-detail {
    max-width: 637.5px;
    margin: 0 auto;
}

.thanks-detail p {
    font-size: 0.7225rem;
    line-height: 1.36;
    color: #bbb;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.275rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.765rem;
    color: #aaa;
}

.footer-bottom p {
    margin-bottom: 0.425rem;
}





/* Styling for the new footer contact details section */
.footer-section .footer-contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.425rem;
    font-size: 0.765rem;
}

.footer-contact-details .material-icons {
    margin-right: 0.425rem;
    font-size: 1.02rem;
    color: #4CAF50;
}

.footer-section .footer-contact-details p .material-icons {
    margin-right: 0.425rem;
    color: #4CAF50;
}

/* 联系信息列表样式 */
.contact-info-list {
    margin-top: 0.85rem;
}

.contact-info-list .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.68rem;
    font-size: 0.765rem;
    line-height: 1.19;
}

.contact-info-list .contact-item .material-icons {
    margin-right: 0.68rem;
    font-size: 0.935rem;
    color: #4CAF50;
    flex-shrink: 0;
}

.contact-info-list .contact-item span:last-child {
    color: #fff;
}

/* 电话链接样式 */
.phone-link {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    cursor: pointer;
}

.phone-link:hover {
    color: #1976D2;
    text-decoration: underline;
}

.phone-link:active {
    color: #0D47A1;
}