/*-----------------------------------*\ 
  #Company Details
\*-----------------------------------*/

    /* CSS Reset & Variables - Exactly matching index.html */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        :root {
            --primary: #E21B3C;
            --primary-hover: #C1122F;
            --text-dark: #0F172A;
            --text-muted: #64748B;
            --bg-light: #F8FAFC;
            --border-color: #E2E8F0;
            --footer-bg: #1e293b;
            --star-color: #F59E0B;
        }

        body {
            background-color: #FFFFFF;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Header Navigation - Exactly matching index.html */
        header {
            border-bottom: 1px solid var(--border-color);
            background: #FFFFFF;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 72px;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 22px;
            font-weight: 700;
            color: var(--text-dark);
            text-decoration: none;
            z-index: 1001;
        }

        .logo span {
            color: var(--primary);
        }

        .logo svg {
            margin-right: 8px;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: #334155;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .login-btn {
            text-decoration: none;
            color: #334155;
            font-size: 14px;
            font-weight: 500;
        }

        .join-btn {
            background-color: var(--primary);
            color: #FFFFFF;
            text-decoration: none;
            padding: 10px 24px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            transition: background-color 0.2s, transform 0.1s;
        }

        .join-btn:hover {
            background-color: var(--primary-hover);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-dark);
            z-index: 1001;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            padding: 24px 0;
            font-size: 14px;
            color: var(--text-muted);
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .breadcrumbs a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumbs a:hover {
            color: var(--primary);
        }

        /* Company Profile Header */
        .company-header-banner {
            display: flex;
            align-items: flex-start;
            gap: 24px;
            padding-bottom: 32px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 40px;
        }

        .company-logo-box {
            width: 120px;
            height: 120px;
            background-color: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .company-header-info {
            flex-grow: 1;
        }

        .company-title-row {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 8px;
        }

        .company-name {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-dark);
            letter-spacing: -0.5px;
        }

        .verified-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background-color: #FFF1F2;
            color: var(--primary);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .rating-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .stars {
            display: flex;
            gap: 2px;
            color: var(--star-color);
        }

        .rating-text {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .rating-count {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Main Content Grid */
        .company-main-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 48px;
            padding-bottom: 80px;
        }

        /* Left Column */
        .section-wrapper {
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 16px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--border-color);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background-color: var(--primary);
        }

        .description-text {
            font-size: 15px;
            line-height: 1.7;
            color: #475569;
        }

        /* Specifications Table */
        .specs-data-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 12px;
        }

        .specs-data-table tr {
            border-bottom: 1px solid var(--border-color);
        }

        .specs-data-table tr:nth-child(even) {
            background-color: var(--bg-light);
        }

        .specs-data-table td {
            padding: 16px 20px;
            font-size: 14px;
        }

        .spec-label-column {
            font-weight: 600;
            color: #334155;
            width: 35%;
        }

        .spec-value-column {
            color: #475569;
            font-weight: 500;
        }

        /* Products Grid Section */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 24px;
            margin-top: 24px;
        }

        .product-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            background: #FFFFFF;
            transition: transform 0.2s, box-shadow 0.2s;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }

        .product-img {
            width: 100%;
            height: 180px;
            background-color: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }

        .product-info {
            padding: 16px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .product-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .product-price {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 4px;
        }

        .product-moq {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 16px;
        }

        .btn-view-product {
            margin-top: auto;
            text-align: center;
            display: block;
            width: 100%;
            padding: 10px;
            border: 1px solid var(--primary);
            color: var(--primary);
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
        }

        .btn-view-product:hover {
            background-color: var(--primary);
            color: #FFFFFF;
        }

        /* Right Column (Sidebar Contact Card) */
        .contact-card {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 32px 24px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            position: sticky;
            top: 100px;
        }

        .contact-person-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--border-color);
        }

        .avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background-color: #E2E8F0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748B;
        }

        .person-info h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .person-info p {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .contact-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 32px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .contact-icon {
            color: var(--primary);
            margin-top: 2px;
        }

        .contact-details h4 {
            font-size: 12px;
            text-transform: uppercase;
            color: var(--text-muted);
            font-weight: 600;
            margin-bottom: 4px;
            letter-spacing: 0.5px;
        }

        .contact-details p, .contact-details a {
            font-size: 14px;
            color: var(--text-dark);
            font-weight: 500;
            text-decoration: none;
            line-height: 1.5;
        }

        .contact-details a:hover {
            color: var(--primary);
        }

        /* Sidebar Buttons */
        .btn-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .btn-primary {
            background-color: var(--primary);
            color: #FFFFFF;
            text-align: center;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background-color 0.2s;
            border: none;
            cursor: pointer;
            width: 100%;
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
        }

        .btn-whatsapp {
            background-color: #FFFFFF;
            color: #10B981;
            border: 1px solid #10B981;
            text-align: center;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s;
            width: 100%;
        }

        .btn-whatsapp:hover {
            background-color: #F0FDF4;
        }

        /* Similar Companies Section */
        .similar-companies-section {
            margin-top: 20px;
            margin-bottom: 60px;
            padding-top: 20px;
        }

        .similar-companies-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-top: 24px;
        }

        .similar-company-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            background: #FFFFFF;
            transition: transform 0.2s, box-shadow 0.2s;
            display: flex;
            flex-direction: column;
            padding: 20px;
        }

        .similar-company-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            border-color: #CBD5E1;
        }

        .similar-company-logo-box {
            width: 100%;
            height: 120px;
            background-color: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .similar-company-logo-box img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 8px;
        }

        .similar-company-info {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .similar-company-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 6px;
            min-height: 44px;
        }

        .similar-company-name {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.375;
            flex: 1;
            word-break: break-word;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .similar-company-name a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s;
        }

        .similar-company-name a:hover {
            color: var(--primary);
        }

        .verified-icon {
            display: inline-flex;
            align-items: center;
            flex-shrink: 0;
            margin-top: 3px;
        }

        .similar-company-type {
            font-size: 13px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .similar-company-location {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        .similar-company-exp {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #334155;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .similar-company-desc {
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-muted);
            margin-bottom: 16px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }

        .style-view-company {
            margin-top: auto;
        }

        /* Footer Section - Exactly matching index.html */
        footer {
            background: linear-gradient(to bottom right, #36454F, #001A40);
            color: #94A3B8;
            padding: 80px 0 40px 0;
            font-size: 15px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            padding-bottom: 60px;
            margin-bottom: 20px;
        }

        .footer-brand .logo {
            color: #FFFFFF;
            margin-bottom: 20px;
            display: inline-flex;
        }

        .footer-brand p {
            line-height: 1.6;
            color: #94A3B8;
            max-width: 300px;
            margin-bottom: 24px;
        }

        .social-links {
            display: flex;
            gap: 12px;
        }

        .social-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #112240;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94A3B8;
            text-decoration: none;
            transition: background-color 0.2s, color 0.2s;
        }

        .social-link:hover {
            background-color: var(--primary);
            color: #FFFFFF;
        }

        .footer-col h4 {
            color: #FFFFFF;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 24px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .footer-col ul a {
            color: #94A3B8;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul a:hover {
            color: #FFFFFF;
        }

        .newsletter-text {
            color: #94A3B8;
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .newsletter-form {
            display: flex;
            gap: 12px;
        }

        .newsletter-form input {
            flex: 1;
            background-color: #112240;
            border: 1px solid #1E293B;
            padding: 12px 16px;
            border-radius: 6px;
            color: #FFFFFF;
            outline: none;
            font-size: 14px;
        }

        .newsletter-form input::placeholder {
            color: #64748B;
        }

        .newsletter-form button {
            background-color: var(--primary);
            color: #FFFFFF;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .newsletter-form button:hover {
            background-color: var(--primary-hover);
        }

        .footer-bottom {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            color: #64748B;
            padding-top: 20px;
            border-top: 1px solid #1E293B;
        }

        /* Responsive Setup Adjustments */
        @media (max-width: 1024px) {
            .company-main-grid { grid-template-columns: 1fr; gap: 40px; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
            .contact-card { position: static; }
            .similar-companies-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
        }

        @media (max-width: 768px) {
            .nav-container { flex-wrap: wrap; height: auto; min-height: 72px; padding-top: 14px; padding-bottom: 14px; position: relative; }
            .logo { order: 1; }
            .menu-toggle { display: block; order: 2; }
            .nav-links { display: none; width: 100%; order: 3; position: static; margin-top: 16px; flex-direction: column; gap: 16px; border-top: 1px solid var(--border-color); padding: 20px 0 12px 0; box-shadow: none; }
            .nav-actions { display: none; width: 100%; order: 4; position: static; margin-top: 0; flex-direction: column; gap: 12px; padding: 0 0 16px 0; border-bottom: 1px solid var(--border-color); box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.06); }
            .nav-actions .join-btn, .nav-actions .login-btn { text-align: center; width: 100%; display: block; padding: 12px 20px; }
            .mobile-nav-active .nav-links, .mobile-nav-active .nav-actions { display: flex; }

            .company-header-banner { flex-direction: column; align-items: center; text-align: center; }
            .company-title-row { justify-content: center; flex-wrap: wrap; }
            .rating-row { justify-content: center; }
            .footer-grid { grid-template-columns: 1fr; }
            .newsletter-form { flex-direction: column; }
            
            /* Responsive products and tables */
            .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
            .similar-companies-grid { grid-template-columns: 1fr; gap: 16px; }
            .specs-data-table { border: none; background: transparent; }
            .specs-data-table tr { 
                display: flex; 
                flex-direction: column; 
                background: #F8FAFC !important; 
                margin-bottom: 12px; 
                border: 1px solid var(--border-color); 
                border-radius: 8px; 
                padding: 12px 16px;
            }
            .specs-data-table td { 
                display: block; 
                width: 100% !important; 
                padding: 0 !important;
                border: none !important;
            }
            .specs-data-table td.spec-label-column { 
                font-size: 12px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                color: #64748B;
                margin-bottom: 4px;
                background: transparent;
                font-weight: 600;
            }
            .specs-data-table td:not(.spec-label-column) { 
                color: #0F172A;
                font-weight: 600;
                font-size: 15px;
            }
        }
