/* ===== HOMEPAGE RESPONSIVE STYLES ===== */

/* Banner - Mobile First */
.banner {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.banner .ban_img {
    position: relative;
    height: 250px;
}

.banner .ban_img ul li {
    position: relative;
    height: 250px;
}

.banner .ban_img ul li a {
    display: block;
    height: 100%;
    position: relative;
}

.banner .ban_img ul li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner .ban_img .swiper-button-next,
.banner .ban_img .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9) !important;
    background-image: none !important;
    border-radius: 50%;
    border: none;
    color: #000000;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.9;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.banner .ban_img .swiper-button-next {
    right: 15px;
    left: auto;
}

.banner .ban_img .swiper-button-prev {
    left: 15px;
    right: auto;
}

.banner .ban_img .swiper-button-next:hover,
.banner .ban_img .swiper-button-prev:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.banner .ban_img .swiper-pagination {
    bottom: 10px;
}

.banner .ban_img .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    margin: 0 3px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.banner .ban_img .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Tablet */
@media (min-width: 768px) {
    .banner .ban_img {
        height: 350px;
    }
    
    .banner .ban_img ul li {
        height: 350px;
    }
    
    .banner .ban_img .swiper-button-next,
    .banner .ban_img .swiper-button-prev {
        width: 45px;
        height: 45px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.9) !important;
        background-image: none !important;
    }
    
    .banner .ban_img .swiper-button-next {
        right: 20px;
    }
    
    .banner .ban_img .swiper-button-prev {
        left: 20px;
    }
    
    .banner .ban_img .swiper-pagination {
        bottom: 15px;
    }
    
    .banner .ban_img .swiper-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .banner .ban_img {
        height: 450px;
    }
    
    .banner .ban_img ul li {
        height: 450px;
    }
    
    .banner .ban_img .swiper-button-next,
    .banner .ban_img .swiper-button-prev {
        width: 50px;
        height: 50px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.9) !important;
        background-image: none !important;
    }
    
    .banner .ban_img .swiper-button-next {
        right: 25px;
    }
    
    .banner .ban_img .swiper-button-prev {
        left: 25px;
    }
}

/* Section Padding */
.section-padding {
    padding: 20px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
}

@media (min-width: 992px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Product Center */
.product-center {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-center .title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-center .title .lead {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.product-center .product-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.product-center .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 129, 185, 0.15);
    border-color: #0081b9;
}

.product-center .product-card .product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-center .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-center .product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-center .product-card .product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-center .product-card .product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.product-center .product-card .product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-center .product-card .view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0081b9, #006699);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 129, 185, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-center .product-card .view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 129, 185, 0.4);
    color: #fff;
    text-decoration: none;
}

.product-center .product-card .view-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-center .product-card:hover .view-more i {
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .product-center .title h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .product-center .title .lead {
        font-size: 18px;
    }
    
    .product-center .product-card .product-image {
        height: 220px;
    }
    
    .product-center .product-card .product-content {
        padding: 25px;
    }
    
    .product-center .product-card .product-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .product-center .product-card .product-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .product-center .product-card .view-more {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .product-center .title h2 {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .product-center .title .lead {
        font-size: 20px;
    }
    
    .product-center .product-card .product-image {
        height: 240px;
    }
    
    .product-center .product-card .product-content {
        padding: 30px;
    }
    
    .product-center .product-card .product-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .product-center .product-card .product-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .product-center .product-card .view-more {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* More Products Button */
.more-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0081b9, #006699);
    color: #fff;
    padding: 14px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 129, 185, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-products:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 129, 185, 0.4);
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #006699, #004d73);
}

.more-products span {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.more-products:hover span {
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .more-products {
        padding: 16px 35px;
        font-size: 17px;
    }
}

@media (min-width: 992px) {
    .more-products {
        padding: 18px 40px;
        font-size: 18px;
    }
}

/* Demo Video */
.demo-video {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.demo-video .title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.demo-video .title .lead {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.demo-video .video-container {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.demo-video .video-container video {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.demo-video .video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-video .video-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
}

.demo-video .video-item:hover,
.demo-video .video-item.active {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 129, 185, 0.15);
    border-color: #0081b9;
}

.demo-video .video-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.demo-video .video-item span {
    padding: 15px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .demo-video .title h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .demo-video .title .lead {
        font-size: 18px;
    }
    
    .demo-video .video-container video {
        height: 300px;
    }
    
    .demo-video .video-item img {
        width: 100px;
        height: 75px;
    }
    
    .demo-video .video-item span {
        font-size: 15px;
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .demo-video .title h2 {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .demo-video .title .lead {
        font-size: 20px;
    }
    
    .demo-video .video-container video {
        height: 400px;
    }
    
    .demo-video .video-item img {
        width: 120px;
        height: 90px;
    }
    
    .demo-video .video-item span {
        font-size: 16px;
        padding: 25px;
    }
}

/* Company Strength */
.company-strength {
    background-color: #fff;
}

.company-strength .title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.company-strength .title .lead {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.company-strength .strength-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.company-strength .strength-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 129, 185, 0.15);
    border-color: #0081b9;
}

.company-strength .strength-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.company-strength .strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.company-strength .strength-card:hover .strength-image img {
    transform: scale(1.08);
}

.company-strength .strength-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.company-strength .strength-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0081b9, #006699);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 129, 185, 0.3);
}

.company-strength .strength-content h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.company-strength .strength-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.company-strength .strength-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.company-strength .strength-features li {
    color: #555;
    margin-bottom: 8px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.company-strength .strength-features li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 14px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .company-strength .title h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .company-strength .title .lead {
        font-size: 18px;
    }
    
    .company-strength .strength-image {
        height: 220px;
    }
    
    .company-strength .strength-content {
        padding: 30px;
    }
    
    .company-strength .strength-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .company-strength .strength-content h4 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .company-strength .strength-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .company-strength .strength-features li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .company-strength .strength-features li i {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .company-strength .title h2 {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .company-strength .title .lead {
        font-size: 20px;
    }
    
    .company-strength .strength-image {
        height: 240px;
    }
    
    .company-strength .strength-content {
        padding: 35px;
    }
    
    .company-strength .strength-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .company-strength .strength-content h4 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .company-strength .strength-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .company-strength .strength-features li {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .company-strength .strength-features li i {
        font-size: 18px;
    }
}

/* About Us */
.about-us {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-us .about-text {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.about-us .about-text h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-us .about-text .lead {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-us .about-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-us .about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.about-us .feature-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.about-us .feature-item i {
    color: #0081b9;
    margin-right: 8px;
    font-size: 14px;
}

.about-us .about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-us .image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-us .image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-us .company-logo {
    max-height: 120px;
    object-fit: contain;
    background: #fff;
    padding: 20px;
}

.about-us .facility-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-us .about-text {
        padding: 40px;
    }
    
    .about-us .about-text h4 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .about-us .about-text .lead {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .about-us .about-text p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .about-us .about-features {
        gap: 20px;
        margin: 30px 0;
    }
    
    .about-us .feature-item {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .about-us .feature-item i {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .about-us .company-logo {
        max-height: 150px;
        padding: 25px;
    }
    
    .about-us .facility-image {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .about-us .about-text {
        padding: 50px;
    }
    
    .about-us .about-text h4 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .about-us .about-text .lead {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .about-us .about-text p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .about-us .about-features {
        gap: 25px;
        margin: 35px 0;
    }
    
    .about-us .feature-item {
        padding: 15px 25px;
        font-size: 15px;
    }
    
    .about-us .feature-item i {
        font-size: 18px;
        margin-right: 12px;
    }
    
    .about-us .company-logo {
        max-height: 180px;
        padding: 30px;
    }
    
    .about-us .facility-image {
        height: 350px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .banner .ban_img {
        height: 200px;
    }
    
    .banner .ban_img ul li {
        height: 200px;
    }
    
    .banner .ban_img .swiper-button-next,
    .banner .ban_img .swiper-button-prev {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .banner .ban_img .swiper-button-next {
        right: 10px;
    }
    
    .banner .ban_img .swiper-button-prev {
        left: 10px;
    }
    
    .banner .ban_img .swiper-pagination {
        bottom: 8px;
    }
    
    .banner .ban_img .swiper-pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 2px;
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .product-center .product-card .product-image {
        height: 180px;
    }
    
    .product-center .product-card .product-content {
        padding: 15px;
    }
    
    .product-center .product-card .product-title {
        font-size: 16px;
    }
    
    .product-center .product-card .product-description {
        font-size: 13px;
    }
    
    .product-center .product-card .view-more {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .demo-video .video-container video {
        height: 200px;
    }
    
    .demo-video .video-item img {
        width: 60px;
        height: 45px;
    }
    
    .demo-video .video-item span {
        font-size: 13px;
        padding: 12px;
    }
    
    .company-strength .strength-image {
        height: 180px;
    }
    
    .company-strength .strength-content {
        padding: 20px;
    }
    
    .company-strength .strength-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .company-strength .strength-content h4 {
        font-size: 18px;
    }
    
    .company-strength .strength-content p {
        font-size: 13px;
    }
    
    .company-strength .strength-features li {
        font-size: 12px;
    }
    
    .about-us .about-text {
        padding: 25px;
    }
    
    .about-us .about-text h4 {
        font-size: 20px;
    }
    
    .about-us .about-text .lead {
        font-size: 14px;
    }
    
    .about-us .about-text p {
        font-size: 13px;
    }
    
    .about-us .feature-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .about-us .company-logo {
        max-height: 100px;
        padding: 15px;
    }
    
    .about-us .facility-image {
        height: 200px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .product-center .product-card,
    .product-center .product-card .product-image img,
    .company-strength .strength-card,
    .company-strength .strength-image img,
    .about-us .image-container {
        transition: none;
    }
    
    .product-center .product-card:hover,
    .company-strength .strength-card:hover,
    .about-us .image-container:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .product-center .product-card,
    .company-strength .strength-card,
    .about-us .about-text {
        border: 2px solid #000;
    }
}

/* Print Styles */
@media print {
    .banner {
        height: auto;
        min-height: 200px;
    }
    
    .product-center .product-card,
    .company-strength .strength-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .more-products {
        background: #000 !important;
        color: #fff !important;
        box-shadow: none;
    }
}