/* ============================================
   SINOTRUK HOWO - Global Styles
   Industrial Design System
   ============================================ */

/* CSS Variables */
:root {
    --red: #C41E3A;
    --red-dark: #9E1830;
    --red-light: #E63946;
    --black: #0D0D0D;
    --gray-900: #1A1A1A;
    --gray-700: #333333;
    --gray-500: #666666;
    --gray-300: #999999;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --transition: 0.3s ease;
    --header-height: 90px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'TechnaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2vw, 22px); }

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Utility */
.text-red { color: var(--red); }
.text-center { text-align: center; }

/* ============================================
   HEADER - Transparent overlay on banner
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.header.scrolled .logo img {
    filter: brightness(0);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 58px;
    width: auto;
	  filter: brightness(0) invert(1);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav > li {
    position: relative;
    height: 100%;
}

.nav > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
}

.header.scrolled .nav > li > a {
    color: var(--gray-700);
}

.nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav > li:hover > a {
    color: var(--red);
}

.nav > li:hover > a::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-content {
    padding: 24px;
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-500);
    border-bottom: 1px solid transparent;
}

.dropdown-menu a:hover {
    color: var(--red);
    padding-left: 8px;
}

/* Mega Menu for Trucks */
.mega-menu {
    min-width: 900px;
    padding: 32px;
}

.mega-menu-header {
    text-align: center;
    margin-bottom: 32px;
}

.mega-menu-header h4 {
    color: var(--black);
    margin-bottom: 8px;
}

.mega-menu-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mega-menu-item {
    text-align: center;
    padding: 1px;
    border-radius: 8px;
    transition: var(--transition);
}

.mega-menu-item:hover {
    background: var(--gray-100);
}

.mega-menu-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.mega-menu-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.mega-menu-item:hover span {
    color: var(--red);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--black);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    max-height: 800px;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0) 50%, transparent 100% );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--white);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content-inner {
    max-width: 711px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(36px, 5vw, 60px);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--red);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* Swiper Pagination */
.hero .swiper-pagination {
    bottom: 40px;
}

.hero .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border: 2px solid var(--white);
    opacity: 1;
    margin: 0 6px;
}

.hero .swiper-pagination-bullet-active {
    background: var(--red);
    border-color: var(--red);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-section {
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 24px;
}

.product-card h4 {
    margin-bottom: 8px;
}

.product-card p {
    font-size: 14px;
    color: var(--gray-500);
}

.product-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover::before {
    transform: scaleX(1);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--red);
    border-radius: 12px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.about-btn:hover {
    background: var(--red);
}

/* ============================================
   FEATURES SECTION - Background image, bright
   ============================================ */
.features-section {
    position: relative;
    padding: 120px 0;
    background: url('//sinotruk.xyz/images/2025/06/sinotruk-howo-truck-11.webp') center/cover no-repeat fixed;
    color: var(--white);
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
}

.features-section > * {
    position: relative;
    z-index: 1;
}

.features-section .section-header h2 {
    color: var(--black);
}

.features-section .section-header p {
    color: var(--gray-500);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-color: var(--red);
}

.feature-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.feature-card h4 {
    color: var(--black);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   NEWS SECTION - 8 cards grid
   ============================================ */
.news-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    padding: 24px;
}

.news-card h4 {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover h4 {
    color: var(--red);
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

.news-more a {
    display: inline-block;
    padding: 14px 40px;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.news-more a:hover {
    background: var(--red);
}

/* Responsive for news grid */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .news-card-image { height: 180px; }
}

@media (max-width: 576px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-card-image { height: 220px; }
    .news-section { padding: 60px 0; }
}



/* ============================================
   CONTACT INFO SECTION
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--gray-100);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
}

.contact-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card h4 {
    margin-bottom: 12px;
}

.contact-card a {
    display: inline-block;
    font-size: 14px;
    color: var(--red);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-section {
    background: var(--white);
    padding: 80px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.brand-item {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.brand-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
}

/* ============================================
   CAPABILITIES SECTION (4 cards with images)
   ============================================ */
.capabilities-section {
    background: var(--white);
    padding: 100px 0;
}

.capabilities-section .section-header {
    margin-bottom: 50px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.capability-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-100);
    transition: var(--transition);
    cursor: pointer;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.capability-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
}

.capability-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.capability-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    text-align: center;
}

.capability-card-content h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   CTA SECTION with Background Image
   ============================================ */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    background: var(--black);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:linear-gradient(135deg, rgba(0, 0, 0, 0.29) 0%, rgba(0, 0, 0, 0) 100%);
}

.cta-overlay {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    padding: 16px 40px;
    background: var(--red);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-section .btn-primary:hover {
    background: var(--red-dark);
}

.cta-section .btn-secondary {
    padding: 16px 40px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================================
   NEWS SLIDER SECTION
   ============================================ */
.news-slider {
    position: relative;
    overflow: hidden;
}

.news-slider .swiper-slide {
    height: auto;
}

.news-slider .news-card {
    height: 100%;
}

.news-slider .swiper-button-prev,
.news-slider .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    top: 50%;
    transform: translateY(-50%);
}

.news-slider .swiper-button-prev::after,
.news-slider .swiper-button-next::after {
    font-size: 16px;
    color: var(--black);
}

.news-slider .swiper-button-prev {
    left: -60px;
}

.news-slider .swiper-button-next {
    right: -60px;
}

/* ============================================
   INFO CARDS SECTION (3 cards)
   ============================================ */
.info-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.info-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.info-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.info-card-content h4 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.info-card-content span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   BOTTOM CTA SECTION
   ============================================ */
.bottom-cta-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.bottom-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bottom-cta-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.bottom-cta-content p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--red);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h5 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-copyright a {
    color: rgba(255,255,255,0.7);
}

.footer-copyright a:hover {
    color: var(--red);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red);
}

.footer-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 700px;
    }
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Mobile Menu (<=992px) ---------- */
@media (max-width: 992px) {
    :root { --header-height: 70px; }
    .header-inner { padding: 0 20px; }
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 998;
    }
    .nav.active { transform: translateX(0); }

    .nav > li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav > li > a {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        height: 60px;
        color: #333;
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-arrow {
        width: 36px;
        height: 36px;
        margin-left: auto;
        flex-shrink: 0;
        border: 1px solid #ddd;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-arrow::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-top: -3px;
    }

    .nav > li.open > a .nav-arrow::after {
        transform: rotate(-135deg);
        margin-top: 3px;
    }

    /* 子菜单 — 重置桌面端所有定位属性，改为文档流内联 */
    .dropdown {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        min-width: 100%;
        background: #f5f5f5;
    }
    .nav > li.open > .dropdown {
        display: block;
    }

    .dropdown-content {
        padding: 12px 24px 14px;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 12px;
        font-size: 14px;
        color: #444;
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        border-bottom: 1px solid #eaeaea;
    }
    .dropdown-menu a:last-child { border-bottom: none; }
    .dropdown-menu a:hover { color: var(--red); }

    /* Mega Menu 移动端 */
    .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        min-width: 100%;
        padding: 12px 24px 14px;
    }
    .mega-menu-header { display: none; }
    .mega-menu-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mega-menu-item {
        background: #fff;
        border-radius: 6px;
        padding: 10px;
        text-align: center;
    }
    .mega-menu-item img {
        width: 100%;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 6px;
    }
    .mega-menu-item span {
        font-size: 11px;
        color: #333;
    }

    .hero-content { padding: 0 40px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ---------- Small Mobile (<=768px) ---------- */
@media (max-width: 768px) {
    .hero { min-height: 500px; }
    .hero-content { max-width: 90%; }
    .section { padding: 60px 0; }
    .features-section { background-attachment: scroll; padding: 80px 0; }
    .products-grid { grid-template-columns: 1fr; }
    .about-image img { height: 350px; }
    .about-image::after { display: none; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* Responsive for capabilities and info grids */
@media (max-width: 992px) {
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .capability-card img { height: 250px; }
    .capability-card-content { padding: 20px; }
    .capability-card-content h4 { font-size: 16px; }
    
    .info-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .info-card img { height: 250px; }
    .info-card-content { padding: 20px; }
    .info-card-content h4 { font-size: 18px; }
}

@media (max-width: 576px) {
    .capabilities-grid { grid-template-columns: 1fr; }
    .capability-card img { height: 220px; }
    .capability-card-content h4 { font-size: 18px; }
    
    .info-grid { grid-template-columns: 1fr; }
    .info-card img { height: 280px; }
    .info-card-content h4 { font-size: 20px; }
    
    .capabilities-section, .info-section { padding: 60px 0; }
}

/* ============================================
   INQUIRY FORM SECTION
   ============================================ */
.inquiry-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inquiry-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.inquiry-section .section-header h2 {
    margin-bottom: 6px;
}

.inquiry-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 80px 50px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.inquiry-form {
    width: 100%;
}

.inquiry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.inquiry-field {
    position: relative;
}
.inquiry-field .svg-inline--fa{
     position: absolute;
            left: 10px;
            top: 31px;
            color: #c41e3a8c;
        
}
.inquiry-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.5;
}

.inquiry-field input,
.inquiry-field textarea {
    width: 100%;
    padding: 8px 10px 8px 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    line-height: 1.5;
}

.inquiry-field textarea {
    min-height: 60px;
    resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(196,30,58,0.1);
}

.inquiry-form .inquiry-field > i {
    position: absolute;
    left: 10px;
    top: 31px;
    color: #c41e3a8c;
    pointer-events: none;
    z-index: 1;
}

.inquiry-field .svg-inline--fa {
    position: absolute;
    left: 10px;
    top: 31px;
    color: #c41e3a8c;
}

.inquiry-form .inquiry-field:has(textarea) .svg-inline--fa {
    top: 36px;
}

.inquiry-required::after {
    content: '*';
    color: var(--red);
    margin-left: 2px;
}

input[type="hidden"] {
    display: none;
}

.response-message {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
}

.inquiry-submit {
    display: block;
    width: 100%;
    padding: 10px 24px;
    background: var(--red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 12px;
}

.inquiry-submit:hover {
    background: var(--red-dark);
}

.inquiry-submit i {
    margin-right: 6px;
}

@media (max-width: 768px) {
    .inquiry-row { grid-template-columns: 1fr; gap: 10px; }
    .inquiry-form-wrapper { padding: 16px; }
    .inquiry-section { height: auto !important; min-height: 5.53rem; }
}


/* Responsive for brands grid - mobile */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .brand-item {
        padding: 15px;
    }
}