/**
 * Spectro Optics - Main Stylesheet
 */

/* ===== Floating Social Buttons ===== */
.floating-social {
    position: fixed;
    top: 90px;
    right: 10px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255,255,255,0.95);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.floating-social .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.floating-social .social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.floating-social .social-btn.whatsapp { background: #25D366; }
.floating-social .social-btn.linkedin { background: #0077B5; }
.floating-social .social-btn.youtube { background: #FF0000; }
.floating-social .social-btn.wechat { background: #07C160; }
.floating-social .social-btn.email { background: #EA4335; }
.floating-social .social-btn.phone { background: #1a5f7a; }

/* ===== QR Popup ===== */
.qr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: none;
    animation: fadeIn 0.2s ease;
}

.qr-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    display: none;
    animation: popIn 0.3s ease;
}

.qr-popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.qr-popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qr-popup-close:hover {
    background: #000;
    transform: scale(1.1);
}

.qr-popup-content img {
    max-width: 250px;
    max-height: 250px;
    border-radius: 8px;
}

.qr-popup-title {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

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

@keyframes popIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ===== CSS Variables ===== */
:root {
    --primary: #1a5f7a;
    --primary-dark: #159895;
    --secondary: #002B5B;
    --accent: #57c5b6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a5f7a 0%, #159895 50%, #002B5B 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader-logo {
    width: 150px;
    height: 150px;
    animation: pulse 2s ease-in-out infinite;
}

.page-loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
}

.page-loader-name {
    margin-top: 20px;
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease forwards;
}

.page-loader-tagline {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.page-loader-spinner {
    margin-top: 40px;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.page-loader-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    animation: loadingBar 2s ease-in-out infinite;
}

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

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

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

@keyframes loadingBar {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 60%;
        left: 20%;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== Utilities ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.mt-4 {
    margin-top: 20px;
}

.mt-8 {
    margin-top: 40px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

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

.btn-secondary {
    background: var(--bg-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 99;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

/* ===== News Ticker ===== */
.news-ticker {
    display: flex;
    align-items: center;
    background: var(--secondary);
    color: white;
    padding: 8px 0;
    margin-top: 70px;
}

.news-ticker-label {
    background: var(--primary);
    padding: 8px 20px;
    font-weight: 600;
    white-space: nowrap;
}

.news-ticker-content {
    flex: 1;
    overflow: hidden;
}

.news-ticker-content marquee {
    padding: 0 20px;
}

.news-item {
    padding: 0 30px;
}

.news-item:not(:last-child)::after {
    content: '•';
    margin-left: 30px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.trust-item i {
    font-size: 24px;
    color: var(--primary);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder i {
    font-size: 60px;
    color: white;
    opacity: 0.5;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.product-link:hover {
    gap: 10px;
}

/* ===== Features Section ===== */
.features-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.feature-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== About Preview ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge .number {
    font-size: 36px;
    font-weight: 800;
}

.about-badge .text {
    font-size: 12px;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-list {
    margin: 20px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.about-list i {
    color: var(--success);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 140px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Category Grid ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 32px;
    color: white;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.category-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== Products List ===== */
.products-list-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.product-list-image {
    width: 200px;
    height: 150px;
    border-radius: var(--radius);
    overflow: hidden;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-list-placeholder i {
    font-size: 40px;
    color: var(--border);
}

.product-list-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-list-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-specs {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.product-specs h4 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 5px;
}

.product-specs p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ===== Equipment Section ===== */
.equipment-section {
    margin-bottom: 80px;
}

.equipment-section:last-child {
    margin-bottom: 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.equipment-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.equipment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.equipment-icon i {
    font-size: 28px;
    color: white;
}

.equipment-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.equipment-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== Certifications ===== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.certification-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
}

.certification-card:hover {
    border-color: var(--primary);
}

.certification-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.certification-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.certification-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Values ===== */
.values-section {
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon i {
    font-size: 24px;
    color: white;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.value-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper {
    order: 1;
}

.contact-info-wrapper {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
}

.card h2 i {
    color: var(--primary);
    margin-right: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Social Icons */
.social-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.social-icon-item {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.social-icon-item:hover {
    transform: translateY(-3px);
}

.social-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.social-icon-bg i {
    font-size: 24px;
    color: white;
}

.social-icon-item span {
    font-size: 12px;
    color: var(--text);
}

/* Email List */
.email-card {
    padding: 25px;
}

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

.email-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.email-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-icon.sales {
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary);
}

.email-icon.support {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.email-icon.tech {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.email-icon i {
    font-size: 18px;
}

.email-info {
    flex: 1;
}

.email-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.email-info a {
    font-weight: 500;
}

/* Address Card */
.address-card {
    padding: 25px;
}

.address-card p {
    color: var(--text);
    line-height: 1.8;
}

.map-container {
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #ecfdf5;
    color: #059669;
    border-left: 4px solid #059669;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

/* ===== Legal Content ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-content li {
    color: var(--text-light);
    margin-bottom: 8px;
    list-style: disc;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

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

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

.footer-logo img {
    height: 40px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-social a:hover {
    background: var(--primary);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.contact-list li i {
    color: var(--primary);
    margin-top: 4px;
}

.contact-list li a {
    color: rgba(255,255,255,0.7);
}

.contact-list li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Testing Equipment Section ===== */
.testing-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

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

.equipment-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testing-card {
    border-top: 4px solid var(--primary);
}

.production-card {
    border-top: 4px solid var(--success);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.production-card .equipment-icon {
    background: linear-gradient(135deg, var(--success), #059669);
}

.equipment-icon i {
    font-size: 32px;
    color: white;
}

.equipment-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.equipment-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.equipment-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.equipment-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.equipment-feature-item i {
    font-size: 18px;
}

/* ===== Production Section ===== */
.production-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.production-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .products-grid,
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .product-list-item {
        grid-template-columns: 1fr;
    }
    
    .product-list-image {
        width: 100%;
        height: 200px;
    }
    
    .trust-items {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .social-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .production-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
