/* Base Styles */
:root {
    --primary-color: #0062cc;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --text-dark: #212529;
    --text-light: #6c757d;
    --text-lighter: #adb5bd;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --container-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 16px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* 段落首行缩进 */
p{
  text-indent: 2em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Typography utilities */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-light {
    color: var(--text-light);
}

.text-dark {
    color: var(--text-dark);
}

.font-weight-light {
    font-weight: 300;
}

.font-weight-normal {
    font-weight: 400;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.font-weight-black {
    font-weight: 900;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Card styles */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Gradient utilities */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--info));
    color: var(--white);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), #ff8c00);
    color: var(--text-dark);
}

/* Animation utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Section */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.responsive-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 1.1rem;
}

.video-loading i {
    font-size: 2.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.video-description {
    flex: 1;
    max-width: 500px;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-home.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-home i {
    font-size: 1.5rem;
    margin-bottom: 3px;
}

.back-to-home span {
    font-size: 0.7rem;
    font-weight: 500;
}

.back-to-home:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.back-to-home:active {
    transform: translateY(-2px) scale(0.95);
}

@media (max-width: 767px) {
    .back-to-home {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-home i {
        font-size: 1.3rem;
    }
    
    .back-to-home span {
        font-size: 0.6rem;
    }
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 86, 179, 0.2));
}

.logo-image {
    height: 1.6rem;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

/* Responsive logo styles */
@media (max-width: 992px) {
    .logo-image {
        height: 1.4rem;
    }
    .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 1.2rem;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .logo a {
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 1rem;
    }
    .logo-text {
        font-size: 1rem;
    }
    .logo a {
        gap: 6px;
    }
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 86, 179, 0.05);
}

/* Dropdown Menu */
.has-dropdown > a i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    width: 180px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 25px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 0;
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 30px;
}

.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Banner Slider */
.banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.banner-slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.banner-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 8px;
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    line-height: 1.6;
    letter-spacing: 2px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

/* Slider Controls */
.banner-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
}

.banner-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    pointer-events: auto;
}

.banner-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.banner-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .banner-arrows {
        display: none; /* Hide arrows on small screens, use swipe */
    }
    .banner-content h2 {
        font-size: 2rem;
        letter-spacing: 4px;
        margin-bottom: 15px;
    }
    .banner-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .banner-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .banner-btns .btn {
        width: 80%;
    }
}

/* About & Factory Sections */
.about-grid, .factory-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.factory-grid {
    grid-template-columns: 0.8fr 1.2fr;
}

.factory-slider-container {
    height: 400px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.factory-slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.factory-slider img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.product-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.12);
    border-color: rgba(0, 86, 179, 0.1);
}

.product-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.btn-link {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Qualifications Section */
.qual-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.qual-tab-btn {
    padding: 12px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.qual-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.qual-content {
    display: none;
    animation: fadeIn 0.5s;
}

.qual-content.active {
    display: block;
}

/* Company Qualifications Carousel */
.company-qual-carousel-container {
    position: relative;
    max-width: 800px; /* Adjust as needed */
    height: 500px; /* Adjust as needed */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-qual-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.company-qual-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain to show full certificate */
    background-color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    cursor: zoom-in;
}

.company-qual-carousel img.active {
    opacity: 1;
    visibility: visible;
}

.company-qual-prev, .company-qual-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 86, 179, 0.7);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10;
}

.company-qual-prev:hover, .company-qual-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.company-qual-prev { left: 15px; }
.company-qual-next { right: 15px; }

.company-qual-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.company-qual-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.company-qual-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    border: 2px solid var(--white);
}

/* Professional Qualifications Carousel */
.professional-qual-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 30px auto 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.professional-qual-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.professional-qual-image {
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.professional-qual-prev,
.professional-qual-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.professional-qual-prev:hover,
.professional-qual-next:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.professional-qual-prev {
    left: 20px;
}

.professional-qual-next {
    right: 20px;
}

.professional-qual-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.professional-qual-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.professional-qual-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    border: 2px solid var(--white);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .professional-qual-carousel-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .professional-qual-carousel-container {
        height: 350px;
    }
    
    .professional-qual-prev,
    .professional-qual-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .professional-qual-prev {
        left: 10px;
    }
    
    .professional-qual-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .professional-qual-carousel-container {
        height: 300px;
    }
    
    .professional-qual-prev,
    .professional-qual-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .company-qual-carousel-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .company-qual-carousel-container {
        height: 300px;
    }
    .company-qual-prev, .company-qual-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .company-qual-prev { left: 5px; }
    .company-qual-next { right: 5px; }
    .professional-qual-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Honors Section */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.honor-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.honor-header {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.honor-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
    text-align: left;
}

.honor-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
    top: 15px;
}

.honor-list li:last-child { border-bottom: none; }

/* Cases Section */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.case-slider-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.case-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.case-slider img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    padding: 30px;
}

.case-info h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.cases-more-btn {
    text-align: center;
    margin-top: 40px;
}

.cases-more-btn .btn-more-cases {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    text-decoration: none;
}

.cases-more-btn .btn-more-cases:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
    background: linear-gradient(135deg, #0066cc, var(--primary-color));
}

.cases-more-btn .btn-more-cases:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 98, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 500px;
}

.form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 98, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
}

/* Image Overlay (Zoom) */
.overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.overlay-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 85vh;
    margin-top: 5vh;
    animation: zoomIn 0.3s;
}

.overlay-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #d1d1d1;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav h4, .footer-contact h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
}



/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive */
@media (max-width: 992px) {
    .banner-content h1 { font-size: 3.2rem; }
    .about-grid, .factory-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .factory-image { order: -1; }
    .carousel-item { flex: 0 0 calc(50% - 10px); }
    .contact-container { grid-template-columns: 1fr; }
    .form-card { max-width: 100%; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        height: calc(100vh - 70px);
        padding: 40px 20px;
        transition: 0.5s;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    .nav.active { left: 0; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 10px; }
    .nav-list > li { width: 100%; padding: 5px 0; }
    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        padding: 5px 0 5px 20px;
        display: none;
    }
    .has-dropdown:hover .dropdown { display: block; }
    .mobile-toggle { display: block; }
    .banner-content h1 { font-size: 2.5rem; }
    .carousel-item { flex: 0 0 100%; }
    .contact-card, .form-card { padding: 25px; }
    .contact-icon { width: 50px; height: 50px; }
    .contact-icon i { font-size: 1.2rem; }
    .form-card h3 { font-size: 1.3rem; }
}
