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

/* Design System and CSS Variables */
:root {
    --bg-dark: #080b11;
    --bg-card: rgba(18, 24, 38, 0.7);
    --bg-card-hover: rgba(28, 36, 56, 0.85);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glowing: rgba(0, 212, 255, 0.35);
    
    /* Branding Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-blue: #0d6efd;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0d6efd 100%);
    --metallic-gradient: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Body Styles */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Background Subtle Ambient Lights */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Customization */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.gradient-text-power {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-metal {
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-cyan {
    color: var(--accent-cyan) !important;
}

/* Navigation Styling */
.navbar-custom {
    background: rgba(8, 11, 17, 0.8) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-custom.scrolled {
    padding: 0.6rem 0;
    background: rgba(8, 11, 17, 0.95) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 4px var(--accent-cyan));
}

.navbar-brand .brand-p1 {
    color: var(--text-main);
}
.navbar-brand .brand-p2 {
    color: var(--accent-cyan);
}

.nav-link-custom {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link-custom:hover, 
.nav-link-custom.active {
    color: var(--accent-cyan);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1.2rem;
    background-color: var(--accent-cyan);
    transition: width 0.25s ease;
}

.nav-link-custom:hover::after, 
.nav-link-custom.active::after {
    width: calc(100% - 2.4rem);
}

/* Glassmorphism Cards & Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-panel:hover {
    border-color: var(--border-glowing);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
}

/* Buttons System */
.btn-glow-cyan {
    background: var(--accent-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-glow-cyan:hover {
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

.btn-glow-outline {
    background: transparent;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 2px solid var(--accent-cyan);
    transition: all 0.3s ease;
}

.btn-glow-outline:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Page Scroll Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 2000;
    transition: width 0.1s ease-out;
}

/* Scroll To Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Custom Lists */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Form Styling */
.form-control-custom {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    outline: none;
}

.form-control-custom::placeholder {
    color: #4b5563;
}

/* Home Section Layouts */
.section-padding {
    padding: 6rem 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Interactive Timeline */
.timeline-wrapper {
    position: relative;
    padding-left: 2rem;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(13, 110, 253, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

/* Footer Styling */
.footer {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Product Cards & Filters */
.product-card {
    height: 100%;
}

.product-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1rem;
}

.tag-steel {
    background: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.tag-copper {
    background: rgba(234, 136, 91, 0.15);
    color: #f7a072;
    border: 1px solid rgba(234, 136, 91, 0.3);
}

.tag-rare {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.tag-alloy {
    background: rgba(13, 110, 253, 0.15);
    color: #8bb9fe;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-btn:hover, 
.filter-btn.active {
    border-color: var(--accent-cyan);
    color: var(--text-main);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

/* Division Cards Hero Component */
.division-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16/10;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    z-index: 1;
    cursor: pointer;
    transition: all 0.4s ease;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(8, 11, 17, 0.95) 0%, rgba(8, 11, 17, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.division-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.division-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.division-card.card-power {
    background-size: cover;
    background-position: center;
}

.division-card.card-metals {
    background-size: cover;
    background-position: center;
}

/* Stats counter card */
.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Location Card Contacts */
.location-card {
    height: 100%;
}

.location-tag {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Form Validation Custom Alerts */
.invalid-feedback-custom {
    color: #f28b82;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.invalid-feedback-custom.visible {
    display: block;
}

/* Toast System Bootstrap Custom Override */
.toast-custom {
    background: var(--bg-card) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-cyan) !important;
    border-radius: 8px !important;
    color: var(--text-main) !important;
}

/* Animation Utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    .hero-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .division-card {
        padding: 1.5rem;
        aspect-ratio: 16/11;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}
