# 首页首屏以下区域样式(services/video/faq/quote/case-studies 等)
# 由 P4-1 从 index.css 拆出,异步加载,不阻塞首屏

.surps{
	 width: 100%;
	 padding: 20px 0;
	 /* height: 350px; */
	 /* border: 1px solid red; */
	 background-color: whitesmoke;
}
.surps .tp{
	width: 100%;
	text-align: center;
	color: seagreen;
	size: 16px;
}
 .insertlogo{
	 width: 30%;
	 /* height: 150px; */
	 margin-left: 35%;
	 /* border: 1px solid blue; */
	 /* display: inline-block; */
 }
 .insertlogo .logo1{
	 width: 70px;
	 height: 70px;
	 border-radius:  100px;
	 border: 2px solid seagreen;
	 /* padding: 10px; */
	 /* background-image: url("../img/logo/world.png"); */
/* 	 background-size: 100% 100%;
	 background-repeat: no-repeat; */
	 float: left;
	 /* display: inline-block; */
 }
 .insertlogo img{
	 width: 80%;
	 height: 80%;
	 margin: 10%;
	 /* border: 1px solid red; */
 }
 .insertlogo .logo2{
	 width: 70px;
	 height: 70px;
 	 border-radius:  100px;
	 border: 2px solid seagreen; 
	 float: left; 
	 margin-left: calc(50% - 100px);
	 /* display: inline-block; */
 }
 .insertlogo .logo3{
	 width: 70px;
	 height: 70px;
 	 border-radius:  100px;
	 border: 2px solid seagreen; 
	 float: right;
	 /* display: inline-block; */
 }
 .insertlogo .logoX{
 	 width: 500px;
	 margin: 0 0 0 calc(50% - 250px);
 	 height: 170px; 
 }
 .insertlogo .logoX img{
	 margin: 0;
	 width: 100%;
	 height: 100%;
 }
 .to_top{
 	color: darkgray; 	
 	font-size: 18px;	
 	border-bottom: 1px solid gray; 
 } 
 .to_top:hover{
 	color: black;
 }
 .design{
 	width: 70%;
 	margin-left: 15%;
 	margin-bottom: 20px;
 	font-size: 16px;
 	text-align: left;
 }
 .design2{
 	font-size: 16px;
 	text-decoration: underline;
 }
 .design2:hover{
 	color: darkgoldenrod;
 }
.product-categories {
    padding: 50px 10%;
    background: #f8f8f8;
    width: 80%; 
}
.T1{ 
    font-size: 36px; 
    color: #2c3e50;
    width: 100%;
    padding-left: 2%; 
} 
.product-categories .tosalesproducts{
    float: left;
    text-align: right;
    width: 90%;
    /* padding-left: calc(100% - 200px); */
    /* padding: 0 5%; */
    /* margin-left: 10px; */
    /* margin-right: 20%; */
    /* margin-top: -60px; */
    font-style: italic;
    font-size: 14px;
    /* border: 1px solid red; */
}
.tosalesproducts:hover{
    color: #DAA520;
}
.category-grid { 
    /* position: relative; */ 
    /* max-width: 1400px; */
    width: 100%; 
    /* border: 5px solid red; */
}
.category-slides {
    position: relative;
    width: 100%; 
}
.category-item {
    /* display: none; */
    /* justify-content: space-between; */
    /* align-items: center; */
    /* align-items: left; */
    /* width: 80%; */
	/* margin-left: 10%; */
    /* height: 500px; */
    /* background: transparent; */
    /* position: relative; */
	/* border: 1px solid red; */
}
.category-content {
	height: 100%;
    width: 100%;
	/* left: 0; */
    /* flex: 0 0 45%; */
    /* padding: 40px 0; */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: left; */
	/* border: 1px solid blue; */
}
.product-highlights {
    /* max-width: 100%; */
    width: 100%;
    /* margin: 0; */
    /* float: left; */
    /* float: left; */
    /* padding-right: 20px; */
	/* border: 2px solid darkblue; */
    float: left;
	/* text-align: left; */
}
.product-highlights h3 {
    color: #eec900;
    font-size: 28px;
    margin-bottom: 20px;
    /* padding-left: 15%; */
}
.product-highlights h3:hover{
    /*color: darkgoldenrod;*/
    color: #DAA520;
}
.product-highlights p {
    color: #515151;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
    /* padding-left: 15%; */
}
.product-highlights strong {
    font-size: 18px;
    font-weight: 600;
}
.product-highlights ul {
    list-style: none; 
    margin-top: 20px;
}
.product-highlights li {
    color: #515151;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
	margin-left: -6%;
}
.category-image-cage {
    /* flex: 0 0 45%; */
    height: 100%;
	/* border: 1px solid red; */
}
.category-image {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	padding-bottom: 30px;
    transition: transform 0.2s ease;
    cursor: zoom-in;
}
.category-image img {
    /* max-width: 100%; */
    /* max-height: 100%; */
	height: 100%;
    object-fit: contain;
}	
.category-image:hover {
         transform: scale(1.5);
         transform-origin: var(--mouse-x) var(--mouse-y);
     }
.category-prev, .category-next {
    cursor: pointer;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    padding: 16px;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    user-select: none;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.category-prev {
    top: 35%;
}
.category-next {
    top: 55%;
}
/* Update category item layout */
.category-item {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 500px;
    background: transparent;
    position: relative;
}
/* Adjust content and image cage widths */
.category-content {
    flex: 0 0 45%;
    padding: 40px;
}
.category-image-cage {
    flex: 0 0 45%;
    height: 100%;
}
/* Add hover effects */
.category-prev:hover, .category-next:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #eec900;
}
.category-dots {
    text-align: center;
    margin-top: 20px;
}
.category-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.category-dot.active {
    background-color: #eec900;
}
.fade {
    animation: fade 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
/*  
@media screen and (max-width: 1200px) {
    .category-prev { 
    }
    .category-next {
        right: 10px; 
    }
} */
/* @media screen and (max-width: 768px) - category moved to media.css */
/* Services Section Styles */
.services-section {
    padding: 20px 0 50px 0;
    width: 100%; 
    position: relative;
    overflow: visible;
	background-color: #eec900;
}
.services-section h2 {
    text-align: left;
    font-size: 32px;
    color: white;
    /* border: 1px solid red; */
    padding: 0 10%;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .services-section h2 {
    text-align: right;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 80%;
    margin: 0 auto;
    max-width: 1400px;
	border: none;
}
.service-item {
    /* background: transparent; */
    /* padding: 130px 0; */
    min-height: 300px;
    text-align: center;
    text-decoration: none;
	border: none;
}
/* .service-item:hover {
    transform: translateY(-5px);
} */
.service-item i {
    font-size: 60px;
    /* color: #3498db;  */
	color: #ecf0f1; 
    margin-bottom: 20px; 
    /* transition: color 0.3s ease; */
}
.service-item:hover i {
    /* color: #2ecc71;   */
}
.service-item h3 {
    /* color: #ecf0f1;   */
	color: #515151;
    margin: 15px 0;
    font-size:  20px;
}
.service-item p {
    /* color: #bdc3c7;   */
	color: #ecf0f1;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    padding: 0 15px;
	font-family: Arial, Helvetica, sans-serif;
    /* border: 1px solid red; */
}
/* @media screen and (max-width: 1200px) - services moved to media.css */
.about-us-section {
    width: 100%;
    /* padding-left: 10%; */
    padding: 80px 0;
    /* border: 1px solid red; */
    background: #f8f8f8;
    overflow: hidden;
}
.about-us-section h2 {
	padding-left: 20%;
    text-align: left;
    color: #333;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 600;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .about-us-section h2 {
    text-align: right;
    padding-left: 0;
    padding-right: 20%;
}
.about-items {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.about-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.about-item:hover {
    transform: translateY(-5px);
}
.about-item i {
    font-size: 40px;
    color: #eec900;
    margin-bottom: 20px;
}
.about-item h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}
.about-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
.about-description {
    text-align: center;
    margin-top: 40px;
    padding: 0 10%;
}
.about-description p {
    color: #515151;
    font-size: 18px;
    line-height: 1.8;
    font-family: Arial, sans-serif;
}
/* Responsive design */
/* @media screen and (max-width: 1024px) - about moved to media.css */
/* @media screen and (max-width: 768px) - about moved to media.css */
.case-studies {
    width: 80%;
    padding: 80px 10%;
/*    background: #f8f8f8; */
}
.case-studies h2 {
    text-align: left;
    color: #333;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 600;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .case-studies h2 {
    text-align: right;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    background: #fff;
}
.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	resize: both;
    overflow: hidden;
	background-color: #515151;
	/* border: 1px solid red; */
}
.project-image img {
    width: 100%;
    height: 100%;
	resize: both;
	opacity: 0.7;
    /* object-fit: cover; */
    /* transition: transform 0.5s ease; */
    display: block;
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    /* transition: opacity 0.3s ease; */
    z-index: 1;
}
.project-overlay h3 {
    color: white;
    font-size: 24px;
    margin: 0;
    text-align: center;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.project-item:hover img {
    transform: scale(1.01);
}
/* Responsive adjustments */
/* @media screen and (max-width: 992px) - case studies moved to media.css */
/* @media screen and (max-width: 768px) - case studies moved to media.css */
.contact-section {
    padding: 60px 8%;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../img/contact-bg.jpg') center/cover;
    color: white;
}
.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}
.contact-section p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.contact-buttons a {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.quote-button {
    background: #ffd700;
    color: #333;
}
.contact-button {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.quote-button:hover {
    background: #ffed4a;
}
.contact-button:hover {
    background: white;
    color: #333;
}
/* @media screen and (max-width: 768px) - contact moved to media.css */
.why-section {
    width: 80%;
    padding: 80px 10%;
    position: relative;
    color: white;
    overflow: hidden;  
    /* border: 1px solid red; */
    /* background: #f8f8f8; */
}
.why-section > * {
    position: relative;
    z-index: 2;
}
.why-section h2 {
    text-align: left;
    /* color: white; */
	color: #515151;
    margin-bottom: 50px;
    font-size: 32px;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .why-section h2 {
    text-align: right;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}
.advantage-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);  
    border-radius: 8px;
    transition: transform 0.3s ease;
}
/* .advantage-item:hover {
    transform: translateY(-5px);
} */
.advantage-item i {
    font-size: 80px;
    color: #ffd700;
    margin-bottom: 20px;
}
.advantage-item h3 {
    color: #333;  
    margin-bottom: 15px;
    font-size: 24px;
}
.advantage-item p {
    color: #666;  
    line-height: 1.6;
    font-size: 16px;
}
/* @media screen and (max-width: 1200px) - advantages moved to media.css */
/* @media screen and (max-width: 768px) - advantages/project moved to media.css */
.contact-us {
	width: 100%;
	height: 650px;
	text-align: center;
	/* padding: 50px 0; */
   /* border: 1px solid red; */
    /* background: #f8f8f8; */
}
.contact-us h2{
	font-size: 30px;
	/* border: 1px solid red; */
}
.contact-us iframe {
   width: 100%;
   height: 100%;
   /* height: 550px; */
   overflow: visible; 
   /* border: 1px solid red; */
}
/* Responsive adjustments */
/* @media screen and (max-width: 1024px) - services slider moved to media.css */
/* @media screen and (max-width: 768px) - services slider moved to media.css */
.ext2-section {
	width: 100%;
	height: 50vh;
    padding: 100px 8%;
    position: relative;
    color: black;
    overflow: hidden;
}
.ext2-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/1menu/1index-bollard.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 1;
    filter: brightness(0.8) contrast(1.2) sepia(0.2) hue-rotate(-20deg) saturate(0.8);
	/* background-color: black; */
	    /* mix-blend-mode: multiply; */
}
/* FAQ Section Styles */
.faq-section {
    width: 80%;
    min-height: 50vh; 
    position: relative;
    color: black;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 10% 80px;
    z-index: 0;
}
/* FAQT container styles */
.faq-section .FAQT {
    width: 100%;
    height: auto;
    /* margin: 0 15%; */
    z-index: 15;
    background: transparent;
    text-align: left;
    /* border: 1px solid red; */
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .faq-section .FAQT {
    text-align: right;
}
/* Limit homepage FAQ to show only first 2 categories */
.faq-section .FAQT .FAQdiv > .category:nth-of-type(n+8) {
    display: none;
}
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/1menu/1index-bollard.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 1;
    filter: brightness(0.8) contrast(1.2) sepia(0.2) hue-rotate(-20deg) saturate(0.8);
}
.faq-section h2 {
    position: relative;
    z-index: 2;
    color: #515151;
    text-align: left; 
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .faq-section h2 {
    text-align: right;
}
.faq-section h2:hover{
    color: #DAA520;
}
.faq-section a:hover{
    /*color: #2c3e50;*/
    color: red;
}
.faq-grid {
    position: relative;
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}
.faq-item {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* .faq-question {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.faq-question h3 {
    margin: 0;
    font-size: 18px; 
    line-height: 1.4;
    font-weight: 500;
    position: relative;
    padding-right: 30px;
    width: 100%;
    border: 1px solid red;
} */
/* Responsive adjustments */
/* @media screen and (max-width: 992px) - faq moved to media.css */
/* @media screen and (max-width: 768px) - faq moved to media.css */
/* @media screen and (max-width: 768px) - category adjustments moved to media.css */
/* Add learn thumbnail styles */
.learn-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
}
.learn-thumbnail img {
    width: 15%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    float: left;
}
.learn-thumbnail .learn-content {
    width: 85%;
    height: 100%;
    padding: 10px 10%;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    float: right;
}
.learn-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}
.learn-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}
.learn-category {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    font-size: 12px;
    color: #2c3e50;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Add responsive styles for learn thumbnails */
/* @media screen and (max-width: 768px) - learn thumbnail moved to media.css */
/* Update learn-section styles */
.learn-section {
    width: 80%;
    height: 50vh;
    padding: 60px 10%;
     /*background: #f8f8f8;*/
    /* background-color: #f8f8f8; */
    overflow: hidden;
    /* border: 1px solid blue; */ 
}
.learn-section h2 {
    color: #333;
    margin-bottom: 40px;
    font-size: 32px;
    /*border: 1px solid red;*/
    text-align: left;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .learn-section h2 {
    text-align: right;
}
/* Update m90apr styles in learn-section */
.learn-section .m90apr {
    width: 80%;
    height: calc(50vh - 125px);
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px 20px 10px 0;
    /* border: 1px solid red; */
    overflow: hidden;
}
.learn-section .m90apr::-webkit-scrollbar {
    display: none;
}
/* .learn-section .m90apr iframe{
    width: 100%;
    height: calc(40vh - 50px);
} */
/* .learn-section .aprA {
    height: 120px;
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
} */
/* Add common h2 styles for all sections */
.product-categories h2,
.about-us-section h2,
.case-studies h2,
.services-section h2,
.why-section h2,
.learn-section h2,
.faq-section h2 {
    /*color: #333;*/
    /*font-size: 32px;*/
    /*font-weight: 600;*/
    margin-bottom: 50px;
    /*position: relative;*/
}
.video-section {
  padding: 80px 0;
  background: #f8f8f8;
  width: 100%;
}
.video-content {
  width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1400px;
}
.video-text {
  flex: 1;
  padding-right: 40px;
}
.video-text h2 {
  color: #333;
  font-size: 32px;
  margin-bottom: 20px;
  padding-left: 0;
  text-align: left;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .video-text h2 {
  text-align: right;
}
.video-text p {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: left;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .video-text p {
  text-align: right;
}
.video-text ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

/* For RTL languages like Arabic */
body[style*="direction: rtl"] .video-text ul {
  text-align: right;
}
.video-text li {
  color: #515151;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.video-container {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
}
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
  cursor: pointer;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(238, 201, 0, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.play-button:hover {
  transform: scale(1.1);
  background: rgba(238, 201, 0, 1);
}
.play-button i {
  color: white;
  font-size: 30px;
  margin-left: 5px; /* Offset to center the play icon */
}
.learn-more {
  display: inline-block;
  padding: 12px 25px;
  background: #eec900;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}
.learn-more:hover {
  background: #d4b300;
}
/* Responsive adjustments */
/* @media screen and (max-width: 1200px) - learn section moved to media.css */
/* @media screen and (max-width: 768px) - learn section moved to media.css */
/* @media screen and (max-width: 768px) - section titles moved to media.css */
/* @media screen and (max-width: 768px) - headings moved to media.css */
/* @media screen and (max-width: 768px) - video moved to media.css */
/* @media screen and (max-width: 992px) - video content moved to media.css */
/* @media screen and (max-width: 768px) - video section moved to media.css */
