/* ������ʽ */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #000080;
}

/* ��������ʽ */
.navbar-brand {
    font-weight: 1000;
    font-size:24px;
}

.navbar-brand i {
    margin-right: 5px;
}
/* �������������ִ�С */
.navbar {
    font-size: 1.1rem; /* ��Ĭ�ϴ�10% */

}

/* ������Ʒ�ƣ�Logo���֣� */
/*.navbar-brand {*/
/*    font-size: 1.5rem;  ��������Ʒ�ƴ�С */
/*}*/

/* �������ӣ��˵�� */
.navbar-nav .nav-link {
    font-size: 1.3rem; /* �����˵����С */
}

/* ��Ӧʽ��������ѡ�� */
@media (max-width: 768px) {
    .navbar {
        font-size: 1.0rem; /* С��Ļʱ��С */
    }
}

/*.collapse {*/
/*    width: 50%;  ռ��������ȵ�80% */
/*    margin: 0 auto;  ˮƽ���� */
/*}*/

/* ҳü��ʽ */
header.bg-light {
    background-color: #f8f9fa !important;
    padding: 3rem 0;
}

/* ��Ƭ��ʽ */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

/* ҳ����ʽ */
footer {
    background-color: #212529 !important;
}

.social-icons a {
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* ʱ������ʽ */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0d6efd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #0d6efd;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ��Ӧʽ���� */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 18px;
    }

    .right {
        left: 0%;
    }
}

/* ��ǩ����ʽ */
.tag-cloud a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    transform: scale(1.1);
}

/* 404ҳ����ʽ */
.error-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

/* ��ϵ����ʽ */
.form-control,
.form-select {
    padding: 10px 15px;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ��Ʒ����ҳ��ʽ */
.product-gallery-thumb {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    opacity: 1;
}

/* ��������ҳ��ʽ */
.news-content img {
    max-width: 100%;
    height: auto;
}

.news-content h4 {
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eaecef;
}

/* ���м������ʽ */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}

.image-container {
    background-color: transparent; /* ȷ������������͸�� */
}

img {
    background-color: none; /* �Ƴ�����ɫ */
    opacity: 1; /* ȷ����͸����Ϊ100% */
}