/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 轮播图样式 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px; /* Adjusted for fixed navbar */
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 150px; 
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    white-space: nowrap;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44,90,160,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    display: flex; /* Ensure buttons are part of flow for positioning */
    justify-content: space-between; /* Pushes buttons to edges */
    padding: 0 20px; /* Add some padding */
}


.prev-btn, .next-btn {
    position: static; /* Changed from absolute to relative or static */
    transform: none; /* Remove transform if not needed for centering */
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: background 0.3s ease;
}

.prev-btn {
    /* left: 20px; /* No longer needed if using flexbox on parent */
}

.next-btn {
    /* right: 20px; /* No longer needed if using flexbox on parent */
}


.prev-btn:hover, .next-btn:hover {
    background: rgba(255,255,255,0.4); 
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44,90,160,0.3);
}

.btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background: #2c5aa0;
    color: white;
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2c5aa0;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* 关于我们预览 */
.about-preview {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 产品展示 */
.products-preview {
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    line-height: 1.6;
}

/* 工程案例 */
.cases-preview {
    padding: 100px 0;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.case-info p {
    color: #666;
    font-size: 0.9rem;
}

/* 荣誉资质 (Index Page Preview) */
.awards-preview {
    padding: 100px 0;
}

.awards-grid { /* Grid for index page preview */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.award-item { /* Item for index page preview */
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-item img {
    width: 100%;
    height: auto; 
    max-height: 200px; 
    object-fit: contain; 
}

/* 联系我们 */
.contact-preview {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 { 
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

/* 留言状态消息样式 */
.message-status {
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

.message-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 页脚 */
.footer {
    background: #2c5aa0;
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo { 
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-right: 30px; 
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 20px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.5);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-section .contact-info p { 
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-section .contact-info i {
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}


/* --- SUBPAGE STYLES START --- */

/* Page Banner for Subpages */
.page-banner {
    background: #2c5aa0; 
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px; 
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1rem;
}

.page-banner p a {
    color: #e0e0e0;
    text-decoration: none;
}

.page-banner p a:hover {
    color: white;
    text-decoration: underline;
}

/* General Section Styling for Subpages */
.about-page-section,
.products-page-section,
.cases-page-section,
.awards-page-section, /* Added awards page section */
.contact-page-section,
.map-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* About Page Specific Styles */
.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.about-page-content.reverse {
    grid-template-columns: 1fr 1fr; 
}
.about-page-content.reverse .about-page-image {
    order: 1; 
}
.about-page-content.reverse .about-page-text {
    order: 0; 
}


.about-page-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-page-text h2 {
    font-size: 2.2rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}
.about-page-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.about-page-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item-detailed {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-item-detailed i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.feature-item-detailed h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.feature-item-detailed p {
    font-size: 0.95rem;
    color: #666;
}

.responsibility-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.responsibility-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.responsibility-item i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
    display: block; 
    text-align: center;
}

.responsibility-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.responsibility-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}


/* Products Page Specific Styles */
.products-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-detail-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.product-detail-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image-gallery .main-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}
.product-image-gallery .thumbnail-product-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
}
.product-image-gallery .thumbnail-product-image:hover {
    border-color: #2c5aa0;
}


.product-detail-card h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.product-scope {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}
.product-scope strong {
    color: #333;
}

.product-installation summary {
    cursor: pointer;
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 10px;
}
.product-installation img {
    width: 100%;
    max-width: 300px; 
    height: auto;
    border-radius: 6px;
    margin-top: 5px;
    border: 1px solid #eee;
}


/* Cases Page Specific Styles */
.cases-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.case-card-detailed {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.case-card-detailed img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-info-detailed {
    padding: 20px;
}

.case-info-detailed h3 {
    font-size: 1.4rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.case-info-detailed p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}
.case-info-detailed p strong {
    color: #333;
}

/* Awards Page Specific Styles */
.awards-page-section {
    padding: 80px 0;
}

.awards-category {
    margin-bottom: 60px;
}

.awards-category h3 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5aa0;
    display: inline-block;
}
.awards-category .category-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.awards-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.award-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.award-card img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Control max height */
    object-fit: contain; /* Show entire image */
    background-color: #f0f0f0; /* Light background for images with transparency or whitespace */
    border-bottom: 1px solid #eee;
}

.award-caption {
    padding: 15px;
}

.award-caption h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.award-caption p {
    font-size: 0.85rem;
    color: #666;
}


/* Contact Page Specific Styles */
.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 50px;
    align-items: flex-start;
}

.contact-page-info h3 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 25px;
}

.contact-item-detailed {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-item-detailed i {
    font-size: 1.6rem;
    color: #2c5aa0;
    margin-top: 6px;
    width: 30px; 
    text-align: center;
}

.contact-item-detailed div h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-item-detailed div p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}
.contact-item-detailed div p strong {
    color: #333;
}

.contact-page-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.contact-page-form-container h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    text-align: center;
}


.map-section {
    padding-bottom: 80px; 
}
.map-section .section-header {
    margin-bottom: 30px;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #fff;
}

#map-amap {
    width: 100%;
    height: 400px;
    border-radius: 8px 8px 0 0;
}

.map-info {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.address-info h4 {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 10px;
    font-weight: 600;
}

.address-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 5px;
}

.address-info p strong {
    color: #333;
    font-weight: 600;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
    color: #777;
}
.map-placeholder iframe {
    border-radius: 8px;
}


/* --- SUBPAGE STYLES END --- */


/* 响应式设计 */
@media (max-width: 992px) {
    .nav-container {
        height: 70px;
    }
    
    .company-name {
        font-size: 16px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content { 
        grid-template-columns: 1fr;
    }
    .about-image { 
        order: -1;
    }

    /* Subpage specific responsive */
    .about-page-content,
    .about-page-content.reverse,
    .contact-page-content {
        grid-template-columns: 1fr; 
    }
    .about-page-content.reverse .about-page-image {
        order: -1; 
    }
    .contact-page-info {
        margin-bottom: 40px;
    }

    .awards-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; 
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero {
        height: 70vh;
        margin-top: 70px; 
    }
    
    .slide-content {
        left: 30px;
        right: 30px; 
        max-width: calc(100% - 60px); 
        padding: 0;
    }
    
    .slide-content h1 {
        font-size: 2rem;
        white-space: normal; 
    }
    
    .products-grid,
    .cases-grid,
    .awards-grid { 
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features { 
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center; 
    }
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-section .contact-info p {
        justify-content: center;
    }

    /* Subpage specific responsive */
    .page-banner {
        margin-top: 70px; 
        padding: 30px 0;
    }
    .page-banner h1 {
        font-size: 2.2rem;
    }
    .products-page-grid,
    .cases-page-grid,
    .about-features-grid,
    .responsibility-items,
    .awards-page-grid { /* Added awards-page-grid */
        grid-template-columns: 1fr;
    }
     .slider-nav {
        padding: 0 10px;
    }
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .awards-category h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .nav-logo {
        gap: 10px;
    }
    
    .logo {
        height: 40px;
    }
    
    .company-name {
        font-size: 14px; 
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    
    .about-text h3 { 
        font-size: 1.6rem;
    }
    
    .contact-form { 
        padding: 25px;
    }

    /* Subpage specific responsive */
    .page-banner h1 {
        font-size: 1.8rem;
    }
    .about-page-text h2 {
        font-size: 1.8rem;
    }
    .about-page-text h3 {
        font-size: 1.5rem;
    }
    .product-detail-card h3 {
        font-size: 1.3rem;
    }
    .case-info-detailed h3 {
        font-size: 1.2rem;
    }
    .contact-page_info h3 {
        font-size: 1.5rem;
    }
    .contact-page-form-container h3 {
        font-size: 1.3rem;
    }    .contact-page-content {
        gap: 30px;
    }
    .award-card img {
        max-height: 200px; /* Adjust for smaller screens */
    }
    .award-caption h4 {
        font-size: 1rem;
    }
    .award-caption p {
        font-size: 0.8rem;
    }

    /* Map section responsive */
    .map-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    #map-amap {
        height: 300px;
    }

}