/* -------------------------------------------------------------
 * Urja Shakti Industrial Component System (USICS)
 * Custom Stylesheet & Design System - High Contrast & Full Density
 * ------------------------------------------------------------- */

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

:root {
    --primary-navy: #0B192C;
    --secondary-navy: #1E3E62;
    --accent-teal: #00ADB5;
    --accent-cyan: #08D9D6;
    --highlight-green: #00D26A;
    --warning-orange: #FF6B6B;
    --bg-light: #F8FAFC;
    --bg-dark: #070F1A;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light: #FFFFFF;
    --text-footer: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(11, 25, 44, 0.1);
    --card-shadow: 0 10px 30px rgba(11, 25, 44, 0.08);
    --card-shadow-hover: 0 20px 45px rgba(11, 25, 44, 0.16);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main, .page-content-wrapper {
    flex: 1 0 auto;
    min-height: 70vh;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-navy);
}

/* Force crisp white text and headings inside dark sections, text-white containers, hero banners, and footer */
.text-white,
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6,
.footer-usics h1, .footer-usics h2, .footer-usics h3, .footer-usics h4, .footer-usics h5, .footer-usics h6,
[style*="background: linear-gradient"] h1,
[style*="background: linear-gradient"] h2,
[style*="background: linear-gradient"] h3,
[style*="background: linear-gradient"] h4,
[style*="background: linear-gradient"] h5,
[style*="background: linear-gradient"] h6,
[style*="background:var(--primary-navy)"] h1,
[style*="background:var(--primary-navy)"] h2,
[style*="background:var(--primary-navy)"] h3,
[style*="background:var(--primary-navy)"] h4,
[style*="background:var(--primary-navy)"] h5,
[style*="background:var(--primary-navy)"] h6 {
    color: #FFFFFF !important;
}

.text-white p, .text-white span, .text-white div, .text-white li,
.bg-dark p, .bg-dark span, .bg-dark div, .bg-dark li,
[style*="background: linear-gradient"] p,
[style*="background: linear-gradient"] span,
[style*="background: linear-gradient"] div,
[style*="background: linear-gradient"] li {
    color: #F1F5F9 !important;
    opacity: 1 !important;
}

.text-white .text-muted, .text-white .opacity-75, .text-white .opacity-90,
.bg-dark .text-muted, .bg-dark .opacity-75, .bg-dark .opacity-90,
[style*="background: linear-gradient"] .text-muted,
[style*="background: linear-gradient"] .opacity-75,
[style*="background: linear-gradient"] .opacity-90 {
    color: #E2E8F0 !important;
    opacity: 1 !important;
}


/* --- High Contrast Top Utility Bar --- */
.top-bar {
    background-color: #060D17;
    color: #FFFFFF !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar span, .top-bar div {
    color: #FFFFFF !important;
}

.top-bar a {
    color: var(--accent-cyan) !important;
    text-decoration: none;
    font-weight: 600;
}

.top-bar a:hover {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.top-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    border-radius: 50%;
    margin-left: 6px;
    transition: var(--transition-fast);
}

.top-bar .social-icons a:hover {
    background: var(--accent-teal);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* --- Main Navbar --- */
.navbar-usics {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-fast);
    padding: 12px 0;
}

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

.brand-badge {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 1.3rem;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(8, 217, 216, 0.5);
    box-shadow: 0 4px 12px rgba(8, 217, 216, 0.25);
}

.brand-name {
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--primary-navy);
    font-weight: 800;
}

.brand-sub {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-navy) !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-teal) !important;
    background: rgba(0, 173, 181, 0.1);
}

.dropdown-menu {
    border: 1px solid #CBD5E1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
}

.dropdown-item {
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 18px;
    border-radius: 6px;
    color: var(--primary-navy);
    transition: var(--transition-fast);
}

.dropdown-item:hover, .dropdown-item.active {
    background-color: rgba(0, 173, 181, 0.12);
    color: var(--accent-teal);
    transform: translateX(4px);
}

/* --- Buttons --- */
.btn-usics-primary {
    background: linear-gradient(135deg, var(--accent-teal), #007A80);
    color: #ffffff !important;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 173, 181, 0.35);
    transition: var(--transition-fast);
}

.btn-usics-primary:hover {
    background: linear-gradient(135deg, #007A80, var(--primary-navy));
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 173, 181, 0.45);
}

.btn-usics-outline {
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal) !important;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    padding: 10px 24px;
    border-radius: 8px;
    background: transparent;
    transition: var(--transition-fast);
}

.btn-usics-outline:hover {
    background: var(--accent-teal);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: #ffffff;
    padding: 90px 0 110px;
    position: relative;
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-cyan) !important;
}

.hero-lead {
    font-size: 1.15rem;
    color: #E2E8F0 !important;
    margin-bottom: 35px;
    max-width: 650px;
}

/* --- Cards & Content Blocks --- */
.usics-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    height: 100%;
}

.usics-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-teal);
}

.usics-card .card-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: rgba(0, 173, 181, 0.12);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
}

/* --- Product Cards --- */
.product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    border: 1px solid #E2E8F0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-teal);
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #f1f5f9;
}

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

.product-badge {
    display: inline-block;
    background: rgba(0, 173, 181, 0.12);
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Stats Counter Bar --- */
.stats-banner {
    background: var(--primary-navy);
    color: #ffffff;
    padding: 45px 0;
    border-radius: 20px;
    margin-top: -55px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-cyan) !important;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #E2E8F0 !important;
    margin-top: 6px;
    font-weight: 600;
}

/* --- High Contrast Footer --- */
.footer-usics {
    background: #060D17;
    color: var(--text-footer) !important;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: auto;
}

.footer-usics h5 {
    color: #FFFFFF !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-usics p, .footer-usics span {
    color: #CBD5E1 !important;
    font-size: 0.92rem;
}

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

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

.footer-links a {
    color: #CBD5E1 !important;
    font-weight: 500;
    font-size: 0.93rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan) !important;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.88rem;
    color: #94A3B8 !important;
}

/* Table specs styling */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.spec-table th, .spec-table td {
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
    font-size: 0.9rem;
}

.spec-table th {
    background: #F1F5F9;
    color: var(--primary-navy);
    font-weight: 700;
}

/* Utilities */
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
