/* Global Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2a4365;
    --accent-color: #f97316;
    --light-accent: #fdba74;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #e2e8f0;
    --dark-gray: #4b5563;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 70px; /* 为固定导航栏留出空间 */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: none;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Header Styles - 固定导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px;
    padding: 0;
    margin: 0;
    line-height: 70px;
    box-sizing: border-box;
}

/* 保持scrolled状态与普通header相同 */
.header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px;
    padding: 0;
    margin: 0;
    line-height: 70px;
    box-sizing: border-box;
}

/* 确保navbar容器稳定 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* 为logo和导航链接设置基础样式 */
.logo,
.logo a,
.nav-links,
.nav-links li,
.nav-links a {
    margin: 0;
    padding: 0;
}

/* 导航栏 Logo 自适应 */
.header-two .logo img,
.header-logo-menu .logo img,
header .logo img {
    max-height: 28px;
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* 粘性状态保持一致高度 */
.header-logo-menu.stick .logo img {
    max-height: 28px;
}

/* 小屏优化 */
@media (max-width: 767px) {
    .header-two .logo img,
    .header-logo-menu .logo img,
    header .logo img {
        max-height: 26px;
    }
}

/* 确保body有足够的顶部内边距，避免内容被固定导航栏遮挡 */
body {
    padding-top: 70px;
}

/* 统一导航字号与行高，防止切页跳动 */
.mainmenu ul#nav > li > a,
.header-logo-menu.stick .mainmenu-area .mainmenu ul#nav > li > a {
    font-size: 16px !important;
    line-height: 36px !important;
    font-family: Arial, sans-serif !important;
}
.mainmenu ul#nav > li { margin-right: 16px !important; }
.header-logo-menu.stick .logo { padding: 4px 0 !important; }

/* Sticker类样式 - 与JavaScript行为保持一致 */
.sticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* 固定头部容器在Tailwind存在时仍保持一致的左右内边距与宽度 */
.header-logo-menu .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.bg-primary select {
    background-color: #fff;
    color: #1a365d;
}
.bg-primary select option {
    color: #1a365d;
    background-color: #fff;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* 下移并居中头部内容 */
.header-logo-menu .logo {margin-top: 6px}
.header-logo-menu .mainmenu-area {margin-top: 6px}

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

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
    transition: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: none;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropbtn {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 16px !important;
    letter-spacing: 0 !important;
}

.dropbtn::after {
    content: '▾';
    font-family: inherit;
    font-weight: 700;
    margin-left: 5px;
    font-size: 0.8rem;
    line-height: 1;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: none;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--gray);
    position: relative;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 三级目录样式 */
.dropdown-sub {
    position: relative;
}

.sub-arrow {
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    color: var(--light-text);
}

.dropdown-subcontent {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: none;
    z-index: 1001;
}

.dropdown-sub:hover .dropdown-subcontent {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Banner Styles */
.hero-banner {
    position: relative;
    height: 100vh;
    background: url('../images/banner-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.banner-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.experience-badge {
    position: absolute;
    left: 10%;
    bottom: 20%;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.badge-inner {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: left;
}

.years {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.experience-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.discover-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: none;
    border-radius: 4px;
}

.discover-btn:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
}

.vr-tour-btn {
    position: absolute;
    top: 50px;
    left: calc(10% + 30px);
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.6s both;
    padding: 8px 16px;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
  .vr-tour-btn {
    position: absolute;
    top: 100px;
    left: 30px;
    margin: 0;
    display: inline-block;
  }
}

.profitability {
    position: absolute;
    right: 10%;
    bottom: 20%;
    z-index: 2;
    text-align: right;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.profitability h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.profitability p {
    font-size: 1rem;
    opacity: 0.9;
}

.social-icons {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 1s ease-out 1.2s both;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Factory Strength Section */
.factory-strength {
    padding: 100px 0;
    background-color: var(--white);
}

.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.factory-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.factory-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.factory-images img:hover {
    transform: scale(1.02);
}

.strength-highlights {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.highlight-item:hover i {
    transform: scale(1.2);
}

.highlight-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
    line-height: 1.7;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.partners-carousel .partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}
.partners-carousel .partner-img {
    width: auto;
    max-height: 60px;
}

.partner-logo {
    max-width: 150px;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: none !important;
    transform: none !important;
}

/* Manufacturing Process Section */
.manufacturing-process {
    padding: 100px 0;
    background-color: var(--dark-gray);
    color: var(--white);
}

.manufacturing-process .section-header h2 {
    color: var(--white);
}

.manufacturing-process .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.process-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.process-item {
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition);
}

.process-item:hover {
    transform: translateY(-10px);
}

.process-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: none !important;
    transform: none !important;
}

.process-item:hover .process-img {
    transform: none !important;
}

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

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: none !important;
}

.team-member:hover .team-img {
    box-shadow: var(--shadow-lg);
    transition: none !important;
}

.team-member h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    text-align: center;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.testimonial-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: none !important;
    transform: none !important;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--primary-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.control-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Products Showcase Section */
.products-showcase {
    padding: 100px 0;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background: linear-gradient(180deg,#ffffff,#fafafa) padding-box, linear-gradient(135deg,#e2e8f0,#cbd5e1) border-box;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(26,54,93,0.08);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(26,54,93,0.14);
}

.product-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: none; 
    transform: none;
    display: block;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.product-card:hover .product-img {
    transform: none; /* 禁用变换效果 */
}

.product-card h3 {
    padding: 22px 22px 8px;
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
}

.product-card p {
    padding: 0 22px 22px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.product-link {
    display: inline-block;
    margin: 0 22px 24px;
    color: var(--white);
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color), #ff9f4a);
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

.product-link::after { content: none; }

.product-link:hover {
    background: linear-gradient(135deg, #ff9f4a, var(--accent-color));
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.product-link:hover::after { content: none; }

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

/* 首页产品区域主按钮美化，仅作用于该区域 */
.products-showcase .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ff9f4a);
    border-radius: 999px;
    padding: 12px 28px;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
    transition: all 0.2s ease;
}
.products-showcase .btn-primary:hover {
    background: linear-gradient(135deg, #ff9f4a, var(--accent-color));
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

/* Contact Form Section */
.contact-form {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
}

.footer-social .social-link:hover {
    background-color: var(--accent-color);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .banner-content h1 {
        font-size: 3.5rem;
    }

    .experience-badge,
    .profitability {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-banner {
        height: auto;
        padding: 200px 20px 100px;
    }

    .social-icons {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 40px;
    }

    .factory-content {
        gap: 40px;
    }

    .strength-highlights {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        animation: slideInDown 0.5s ease-out;
    }

    .nav-links li {
        margin: 10px 20px;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 8px 0;
        display: block;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
        background-color: var(--light-gray);
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    .factory-content {
        grid-template-columns: 1fr;
    }

    .strength-highlights {
        gap: 40px;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .partners-grid {
        gap: 40px;
    }

    .testimonial-slider {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }

    .banner-content h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .process-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .process-img {
        height: 200px;
    }

    .form {
        padding: 30px;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 30px;
    }

    .partner-logo {
        max-width: 120px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .badge-inner {
        padding: 15px 20px;
    }

    .years {
        font-size: 2rem;
    }

    .profitability h2 {
        font-size: 1.5rem;
    }

    .services-grid,
    .team-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-item {
        padding: 30px 20px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .process-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-img {
        height: 180px;
    }

    .partner-logo {
        max-width: 100px;
    }

    .logo a {
        font-size: 1.5rem;
    }
}

/* Enhanced Animations and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    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 float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* Hover Effects Enhancement */
.service-card:hover,
.team-member:hover,
.product-card:hover,
.factory-images img:hover {
    transform: translateY(-8px);
}

.btn-primary:hover,
.discover-btn:hover,
.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.mainmenu ul#nav > li > a {transition: none !important;}
.mainmenu ul#nav > li > a:after {transition: none !important;}
.mainmenu ul#nav > li > a,
.header-logo-menu.stick .mainmenu-area .mainmenu ul#nav > li > a {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 16px !important;
    letter-spacing: 0 !important;
}
