:root {
    --theme-color: #ffc100;
    --color-white: #ffffff;
    --color-dark: #215198;
    --transition: all .5s ease-in-out;
}
form label {
    color: #ff0000;
}
form input.error, form select.error, form textarea.error {
    border: 1px solid #ff0000 !important;
}
h1 {
    font-size: 60px;
}
.header-main .logo img{
    max-width: 280px;
}
.offcanvas__logo img{
    max-width: 200px;
}
.header-main .main-menu ul li .submenu {
    min-width: 350px;
}
.header-main .main-menu ul li .submenu li .submenu {
    min-width: 130px;
}
.footer-bottom .footer-bottom-wrapper .footer-menu {
    gap: 8px;
}
.footer-widgets-wrapper .single-footer-widget .widget-head img {
    max-width: 280px;
}
.footer-contact-wrapper .contact-items .icon {
    font-size: 45px;
}
.footer-contact-wrapper .contact-items .content p.title {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}
.footer-contact-wrapper .contact-items .content p {
    font-family: system-ui;
    font-size: 18px;
}
.footer-contact-wrapper {
    padding: 50px;
}
.section-title h2 {
    text-transform: capitalize;
    font-size: 42px;
}
.section-padding {
    padding: 90px 0;
}
.about-wrapper-2 {
    margin-bottom: 20px;
}
.service-box-items .service-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 24px;
    
    /* 增强视觉效果 */
    transition: all 0.3s;
    &:hover {
        -webkit-line-clamp: 5; /* 悬停展开更多行 */
        max-height: 7.5em;
    }
}
.product-block-one {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.product-block-one .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 240px;
}

.product-block-one .image img {
    transition: transform 0.5s ease;
    margin: 10px;
    padding: 10px;
    max-width: 100%;
    max-height: 220px;
    transform: scale(1);
    transition: all 0.5s ease; /* 统一过渡属性，避免渲染延迟 */
}

.product-block-one .inner-box:hover .image img {
    transform: scale(1.1);
}

.product-block-one .inner-box {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease;
}

.product-block-one .inner-box a {
    color: #215198;
}

.product-block-one .image:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

.product-block-one .image img.loaded {
    opacity: 1;
    transform: scale(1);
}
.product-block-one .designation {
    color: #797979;
    font-size: 16px;
    /* text-transform: uppercase; */
    font-weight: bold;
}
.sec-title h2{
    font-size: 32px;
    color: #215198;
    font-weight: bold;
}
.sec-title .text span{
    font-size: 20px;
    color: #797979;
    font-weight: bold;
}

.pager {
      display: flex;
      justify-content: center;
      align-items: center;
}

.pager span {
      border: none;
      background: var(--color-dark);
      color: var(--color-white);
      margin: 0 10px;
      border-radius: 5px !important;
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      transition: var(--transition);
}

.pager span.active {
      background: var(--theme-color);
      color: var(--color-white);
      z-index: 1;
}

.pager span.disabled {
      display: none;
}

.pager a {
      border-radius: 5px !important;
      border: none;
      background: var(--color-dark);
      color: var(--color-white);
      margin: 0 10px;
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      transition: var(--transition);
}

.pager a:hover {
      background: var(--theme-color);
      color: var(--color-white);;
}

@keyframes circle {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.product-block-one h4 {
    font-size: 20px;
    font-weight: 900;
    color: #172b56;
    position: relative;
    display: inline-block;
    font-family: 'Segoe UI', sans-serif;
}

.product-block-one .designation {
    color: #797979;
    font-size: 14px;
    text-transform: uppercase;
}
.service-details .container{
    max-width: 100%;
}
.project-section .project-image{
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
}
.project-section .project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.project-box-items-2 .project-image .project-content {
    padding: 15px;
    right: 50px;
    opacity: 0.9;
}

/* 修改覆盖层，使其不影响点击事件 */
.product-block-one .overlay-box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    overflow: hidden;
    background-color: rgba(23, 43, 86, 0); /* 使用半透明背景 */
    transition: all 0.4s ease 0.1s;
    pointer-events: none; /* 防止覆盖层捕获点击事件 */
}

.product-block-one .inner-box:hover .overlay-box {
    opacity: 1;
    visibility: visible;
}

/* 设置社交链接样式和层级 */
.product-block-one .social-links {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    margin-top: -25px;
    padding: 0 10px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.3s ease 0.2s;
    z-index: 20; /* 确保社交链接在最上层 */
    pointer-events: none; /* 默认不响应点击 */
}

.product-block-one .inner-box:hover .social-links {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto; /* 悬停时允许点击 */
}

.product-block-one .social-links li {
    position: relative;
    display: inline-block;
    margin: 0 2px;
}

.product-block-one .social-links li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    border-radius: 50%;
    background-color: #172b56;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 添加阴影 */
}

.product-block-one .social-links li a:hover {
    background-color: #ffffff;
    color: #172b56;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 悬停时增强阴影 */
}

.product-detailed{
    margin-top: 40px;
}
.product-detailed .sec-title h2 {
    font-size: 70px;
    font-weight: 900;
    color: #215198;
    
}

.product-detailed .sec-title .text {
    font-size: 32px;
    font-weight: 900;
    color: #56585b;
    text-transform: uppercase;
    margin-top: 10px;
}
.product-detailed .pro-article-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-detailed .pro-article-img img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.product-detailed .content-side {
    padding-right: 40px;
}
.product-detailed .sec-title img {
    margin-top: -32px;
    margin-left: 10px;
}

/* ------------ */
.post-navigation {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	margin-top: 30px;
	padding-top: 30px;
	padding-bottom: 30px;
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
  }
  
  .prev-link-wrapper {
	-webkit-box-flex: 0;
		-ms-flex: 0 0 50%;
			flex: 0 0 50%;
	max-width: 50%;
	padding-right: 15px;
    display: grid;
    align-content: center;
  }
  
  .prev-link-wrapper a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
  }
  
  .prev-link-wrapper a:hover .image-prev::after {
	opacity: 1;
	visibility: visible;
  }
  
  .prev-link-wrapper a:hover .image-prev .post-nav-title {
	opacity: 1;
	visibility: visible;
  }
  
  .prev-link-wrapper a:hover .prev-link-info-wrapper {
	color: #0071dc;
  }
  
  .prev-link-wrapper .image-prev {
	display: inline-block;
	min-width: 100px;
	width: 100px;
	border-radius: 5px;
	overflow: hidden;
	vertical-align: top;
	margin-right: 20px;
	position: relative;
	-webkit-transition: 0.5s;
	transition: 0.5s;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .prev-link-wrapper .image-prev img {
	border-radius: 5px;
    max-height: 100px;
  }
  
  .prev-link-wrapper .image-prev::after {
	display: block;
	content: '';
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 5px;
	opacity: 0;
	background-color: #0071dc;
	visibility: hidden;
	-webkit-transition: 0.5s;
	transition: 0.5s;
  }
  
  .prev-link-wrapper .image-prev .post-nav-title {
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
			transform: translateY(-50%);
	right: 0;
	margin: 0 auto;
	text-align: center;
	text-transform: uppercase;
	z-index: 2;
	color: #ffffff;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	font-size: 16px;
	font-weight: 500;
  }
  
  .prev-link-wrapper .prev-link-info-wrapper {
	color: #000000;
	-webkit-transition: 0.5s;
	transition: 0.5s;
  }
  
  .prev-link-wrapper .prev-title {
	display: inline-block;
	font-weight: 700;
	font-size: 22px;
  }
  
  .prev-link-wrapper .meta-wrapper {
	display: block;
	color: #777777;
	text-transform: capitalize;
	margin-top: 5px;
	font-weight: 500;
	font-size: 20px;
	
  }
  
  .next-link-wrapper {
	-webkit-box-flex: 0;
		-ms-flex: 0 0 50%;
			flex: 0 0 50%;
	max-width: 50%;
	text-align: right;
	padding-left: 15px;
    display: grid;
    align-content: center;
  }
  
  .next-link-wrapper a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
  }
  
  .next-link-wrapper a:hover .image-next::after {
	opacity: 1;
	visibility: visible;
  }
  
  .next-link-wrapper a:hover .image-next .post-nav-title {
	opacity: 1;
	visibility: visible;
  }
  
  .next-link-wrapper a:hover .next-link-info-wrapper {
	color: #0071dc;
  }
  
  .next-link-wrapper .image-next {
	display: inline-block;
	min-width: 100px;
	width: 100px;
	border-radius: 5px;
	overflow: hidden;
	vertical-align: top;
	margin-left: 20px;
	position: relative;
	-webkit-transition: 0.5s;
	transition: 0.5s;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .next-link-wrapper .image-next img {
	border-radius: 5px;
    max-height: 100px;
  }
  
  .next-link-wrapper .image-next::after {
	display: block;
	content: '';
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 5px;
	opacity: 0;
	background-color: #0071dc;
	visibility: hidden;
	-webkit-transition: 0.5s;
	transition: 0.5s;
  }
  
  .next-link-wrapper .image-next .post-nav-title {
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
			transform: translateY(-50%);
	right: 0;
	margin: 0 auto;
	text-align: center;
	text-transform: uppercase;
	z-index: 2;
	color: #ffffff;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	font-size: 16px;
	font-weight: 500;
  }
  
  .next-link-wrapper .next-link-info-wrapper {
	-webkit-transition: 0.5s;
	transition: 0.5s;
	color: #000000;
	width: 100%;
  }
  
  .next-link-wrapper .next-title {
	display: inline-block;
	font-weight: 700;
	font-size: 22px;
  }
  
  .next-link-wrapper .meta-wrapper {
	display: block;
	color: #777777;
	text-transform: capitalize;
	margin-top: 5px;
	font-weight: 500;
	font-size: 20px;
  }

  .service-details-wrapper .service-details-sidebar .sidebar-widget ul li.current {
    background-color: #ffc100;
    color: #ffffff;
}

.header-top-wrapper .top-right .social-icon span {
    color: #ffc100;
    font-weight: 900;
    font-size: 17px;
}

.cta-contact-wrapper .cta-contact-left .icon-items .content h5 a {
    font-size: 26px;
}

.product-section .product-block-one h2{
    font-size: 20px;
    color: #215198;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 3rem;
    line-height: 1.5rem;
    overflow: hidden;
    position: relative;
}
.product-block-one .inner-box {
    background-color: #ffffff;
    padding: 20px;
}
.footer-contact-wrapper .contact-items .content p {
    font-family: system-ui;
    font-size: 16px;
}
.footer-contact-wrapper .contact-items .content a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
}
.product-detailed img{
    max-width: 100%;
}
.order-md-2 {
    padding-right: 40px;
}
#feedback {
    font-size: 22px;
    text-align: center;
    font-weight: bold;
}
.blog-post-details .image{
    text-align: center;
}

.news-section .news-content h3 a {
    line-height: 1.5; /* 假设每行的行高为1.5 */
    height: 4.5em;    /* 3行 x 1.5行高 = 4.5em */
    overflow: hidden; /* 超出部分隐藏 */
    display: inline-block; /* 使高度生效 */
}

/* 小屏幕设备（手机，小于 768px） */
@media only screen and (max-width: 767px) {
    p br {
    display: block !important; /* 强制 <p> 内的 <br> 生效 */
    }
    .section-title h2 {
        text-transform: capitalize;
        font-size: 30px;
    }
    .cta-contact-wrapper .cta-contact-left .icon-items .content h5 a {
        font-size: 20px;
    }
    .offcanvas__logo img {
        max-width: 250px;
    }
    .prev-link-wrapper {
		-webkit-box-flex: 0;
			-ms-flex: 0 0 100%;
				flex: 0 0 100%;
		max-width: 100%;
		padding-right: 0;
	  }
	  .prev-link-wrapper .prev-title {
		font-size: 25px;
        font-weight: 900;
	  }
	  .prev-link-wrapper .meta-wrapper {
		font-size: 16px;
	  }
	  .next-link-wrapper {
		-webkit-box-flex: 0;
			-ms-flex: 0 0 100%;
				flex: 0 0 100%;
		max-width: 100%;
		padding-left: 0;
		margin-top: 30px;
	  }
	  .next-link-wrapper .next-title {
		font-size: 25px;
        font-weight: 900;
	  }
	  .next-link-wrapper .meta-wrapper {
		font-size: 16px;
	  }
      .product-detailed .content-side {
        padding-right: 20px;
    }
}

/* 中等屏幕设备（平板，768px - 991px） */
@media only screen and (min-width: 768px) and (max-width: 991px) {

}

/* 大屏幕设备（桌面电脑，992px - 1199px） */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

}

/* 超大屏幕设备（宽屏桌面电脑，大于等于 1200px） */
@media only screen and (min-width: 1200px) {

}