@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --accent: #0ea5e9;
    --accent-glow: rgba(14, 165, 233, 0.15);
    --border-color: #e2e8f0;
    --border-dark: #334155;

    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px 0 rgba(14, 165, 233, 0.3);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--bg-primary);
    line-height: 1.25;
}

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

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

/* Premium Top Header bar */
.top-info-bar {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-dark);
}

.top-info-bar a {
    color: var(--text-light);
}

.top-info-bar a:hover {
    color: var(--accent);
}

/* Navigation - Floating Glassmorphic style */
.main-navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.main-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.navbar-brand-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.brand-text {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--bg-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link-custom {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 15px;
    color: var(--bg-primary) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-custom:hover {
    color: var(--primary) !important;
}

.nav-link-custom.active {
    color: var(--primary) !important;
}

/* Call to Action Button */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white !important;
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.4);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(2, 132, 199, 0.5), var(--shadow-glow);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.btn-premium-outline {
    background: transparent;
    color: var(--primary) !important;
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background-color: var(--primary);
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-slider-section {
    position: relative;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.hero-slider-item {
    height: 600px;
    position: relative;
}

.hero-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 30%, rgba(15, 23, 42, 0.4) 100%);
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.hero-content-box {
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--font-headings);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 14px;
    display: inline-block;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 17px;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-bg-white {
    background-color: white;
}

.section-bg-alt {
    background-color: #f1f5f9;
}

.section-title-wrapper {
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--bg-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

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

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Cards & Layout Grid */
.premium-card {
    background-color: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.3);
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: #f0f9ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.premium-card:hover .card-icon-box {
    background-color: var(--primary);
    color: white;
}

/* Stats Counter Grid */
.stats-counter-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #020617 100%);
    color: white;
    padding: 60px 0;
    position: relative;
}

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

.stat-number {
    font-family: var(--font-headings);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Dashboard Page specific */
.product-dashboard-container {
    background-color: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Search bar control */
.search-input-group {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: var(--accent-glow);
}

.search-input-group input {
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 15px;
    width: 100%;
}

/* Filter buttons */
.filter-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-pill:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
}

.filter-pill.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

/* Product Card grid */
.product-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.3);
}

.product-card-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #cbd5e1;
}

.product-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img-box img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(15, 23, 42, 0.85);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 8px;
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-spec-row {
    font-size: 13px;
    margin-bottom: 6px;
}

.spec-label {
    font-weight: 600;
    color: #475569;
}

.spec-val {
    color: #64748b;
}

.product-card-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid var(--border-color);
}

/* Beautiful Interactive Tables */
.premium-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.premium-table th {
    background-color: var(--bg-primary);
    color: white;
    font-family: var(--font-headings);
    font-weight: 600;
    text-align: left;
    padding: 16px 20px;
}

.premium-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: white;
    color: #334155;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.premium-table tr:hover td {
    background-color: #f1f5f9;
}

/* About Us Layout elements */
.about-tab-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-tab-btn {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-tab-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.about-tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.about-content-pane {
    background-color: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: none;
}

.about-content-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Us Styling */
.contact-info-card {
    background-color: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.2);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #f0f9ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-content h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Form Styles */
.form-floating-custom {
    position: relative;
    margin-bottom: 20px;
}

.form-control-custom {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-label-custom {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

/* Footer Section */
.footer-corporate {
    background-color: var(--bg-primary);
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-dark);
}

.footer-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-brand-title {
    font-family: var(--font-headings);
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-heading {
    font-family: var(--font-headings);
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #94a3b8;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links-list a:hover {
    color: white;
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid var(--border-dark);
    font-size: 13px;
    color: #64748b;
}

.footer-bottom a {
    color: #64748b;
}

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

/* Page Header Sub-banners */
.page-header-sub {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #034870 100%);
    color: white;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.page-header-sub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, var(--accent-glow) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.page-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Quality Assurance specific cards */
.quality-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.quality-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.2);
}

.quality-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background-color: #f0fdf4;
    color: #16a34a;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.quality-badge.gold {
    background-color: #fffbeb;
    color: #d97706;
}

.quality-badge.blue {
    background-color: #f0f9ff;
    color: var(--primary);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-slider-item {
        height: 500px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 30px;
    }

    .about-tab-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .about-tab-btn {
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .hero-slider-item {
        height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .about-content-pane {
        padding: 24px;
    }
}

height: 2px;
background-color: var(--accent);
}

.footer-corporate-dark a {
    color: #94a3b8;
    transition: var(--transition-fast);
}

.footer-corporate-dark a:hover {
    color: white;
    padding-left: 6px;
}

.footer-bottom-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    margin-top: 80px;
    font-size: 13px;
}

/* Sub-page headers */
.page-header-sub {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.page-header-sub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.page-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive Grid layouts */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 34px;
    }

    .about-tab-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
    }

    .about-tab-btn-dark {
        white-space: nowrap;
    }
}