/* ==========================================
   GLOBAL VARIABLES & RESET
=========================================== */
:root {
    /* Colors extracted from the provided Exotic Alloy Logo */
    --brand-blue: #6CA8D1; 
    --brand-dark-blue: #4A85AD; /* Slightly darker for hover states */
    --brand-black: #0B0B0B;
    --brand-white: #FFFFFF;
    --text-main: #333333;
    --text-light: #777777;
    --bg-light-grey: #F8F9FA;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--brand-white);
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY & BUTTONS
=========================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--brand-black);
}

.text-primary {
    color: var(--brand-blue) !important;
}

/* Custom Outlined Button (Navbar) */
.custom-btn-outline {
    color: var(--brand-black);
    border: 1px solid var(--brand-black);
    border-radius: 2px; /* Industrial, sharp look */
    transition: all 0.3s ease;
}

.custom-btn-outline:hover {
    background-color: var(--brand-black);
    color: var(--brand-white);
}

/* Custom Solid Button (Hero) */
.custom-btn-solid {
    background-color: var(--brand-black); /* Or var(--brand-blue) depending on preference */
    border: none;
    border-radius: 2px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.custom-btn-solid:hover {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    transform: translateY(-2px);
}

/* ==========================================
   NAVIGATION SECTION
=========================================== */
.navbar-nav .nav-link {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
}

/* Underline animation on hover for nav links */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-blue);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ==========================================
   HERO SECTION
=========================================== */
.hero-section {
    min-height: 85vh;
    background-color: var(--brand-white);
}

/* The yellow/blue accent line under the hero title */
.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}

/* Abstract Diagonal Shapes (Inspired by TorqBolt reference) */
.bg-shape {
    position: absolute;
    z-index: 0;
    transform: skewY(-15deg);
}

.shape-1 {
    width: 120%;
    height: 150px;
    background-color: var(--brand-blue);
    opacity: 0.8;
    bottom: -50px;
    right: -10%;
}

.shape-2 {
    width: 50%;
    height: 300px;
    background-color: #f1f5f9; /* subtle light grey/blue */
    top: 10%;
    right: -20%;
    z-index: 0;
}

.hero-img {
    filter: drop-shadow(0px 15px 20px rgba(0,0,0,0.15));
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* ==========================================
   MATERIALS SECTION
=========================================== */
.materials-section {
    position: relative;
    z-index: 2; /* To sit above hero diagonal lines */
}

.material-card {
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent !important;
}

.material-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--brand-blue) !important;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

.icon-wrapper {
    height: 70px;
    width: 70px;
    background-color: rgba(108, 168, 209, 0.1); /* light tint of brand blue */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.material-card:hover .icon-wrapper {
    background-color: var(--brand-blue);
}

.material-card:hover .icon-wrapper i {
    color: var(--brand-white) !important;
}

.learn-more {
    color: var(--brand-black);
    transition: color 0.3s;
}

.learn-more:hover {
    color: var(--brand-blue);
}

/* ==========================================
   HEADER & TOP BAR UPDATES
=========================================== */
.top-bar {
    font-size: 14px; /* Slightly larger text */
    letter-spacing: 0.5px;
}

.social-links a {
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Hover effects for social icons */
.social-links a:hover {
    color: var(--brand-blue) !important;
    transform: translateY(-2px);
}

/* Specific color for WhatsApp on hover if desired */
.social-links a:has(.fa-whatsapp):hover {
    color: #25D366 !important;
}

/* Adjusting the vertical alignment of contact icons */
.contact-info i {
    vertical-align: middle;
}

/* Navbar Logo Size Adjustment */
.navbar-brand img {
    height: 80px; 
    width: auto;
    transition: transform 0.3s ease;
}

/* ==========================================
   DROPDOWN FIX & STYLING
=========================================== */
/* Open dropdown on hover for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }
}

.dropdown-menu {
    border-radius: 0;
    padding: 1rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.dropdown-item:hover {
    background-color: var(--brand-blue);
    color: white;
}


/* Remove the default Bootstrap caret arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* Ensure Nav Link items stay on one line */
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevents the icon from wrapping to a new line */
}

/* Rotate the icon when the dropdown is open (Interactive touch) */
.nav-item.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
    color: var(--brand-blue); /* Matches your logo color */
}












/* ==========================================
   PRODUCTS SECTION (IMAGE BASED)
=========================================== */
.products-section {
    background-color: var(--brand-white);
    position: relative;
    z-index: 1;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: var(--brand-black);
}

.product-card {
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

/* Container for the image to ensure uniform sizing */
.img-wrapper {
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure images fit the box perfectly without stretching */
.product-icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Interactive Hover Effects */
.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.product-card-link:hover .product-icon-img {
    transform: scale(1.15); /* Adds a nice zoom effect to the image on hover */
}

.product-card-link:hover h6 {
    color: var(--brand-blue);
    transition: color 0.3s ease;
}

.title-underline.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}















/* ==========================================
   ENGINEERED APPLICATIONS SECTION (ADVANCED)
=========================================== */
.app-section-advanced {
    background-color: #ffffff;
    /* Subtle Blueprint / Schematic Grid Background */
    background-image: 
        linear-gradient(rgba(108, 168, 209, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 168, 209, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
}

/* Base card drop shadow wrapper */
.tech-card {
    background: transparent;
    position: relative;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.04));
    transition: transform 0.4s ease;
    cursor: crosshair; /* Industrial feel */
}

/* The actual card with the Machined/Chamfered cut corner */
.tech-card-inner {
    background: var(--brand-white);
    height: 100%;
    /* Cuts the top right corner by 40px */
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Sweeping Background Color Fill */
.hover-sweep {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--brand-blue);
    transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
}

/* Hexagon Container for Icons */
.hex-icon {
    width: 65px;
    height: 75px;
    background: #f0f4f8; /* Soft grey-blue */
    /* Mathematical CSS Hexagon */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--brand-blue);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

/* Watermark Rotating Gear */
.card-watermark {
    position: absolute;
    right: -25px;
    bottom: -25px;
    font-size: 9rem;
    color: rgba(0,0,0,0.02);
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.5s ease;
}

/* ==========================================
   CARD HOVER PHYSICS
=========================================== */
.tech-card:hover {
    transform: translateY(-10px);
    filter: drop-shadow(0 15px 30px rgba(108, 168, 209, 0.2));
}

.tech-card:hover .hover-sweep {
    height: 100%; /* Fills the card */
}

/* Turn text white on hover */
.tech-card:hover .card-title-text, 
.tech-card:hover .card-desc-text {
    color: var(--brand-white) !important;
    transition: color 0.3s ease 0.1s;
}

/* Invert Hexagon Colors */
.tech-card:hover .hex-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--brand-white);
    transform: scale(1.1);
}

/* Spin and reveal the gear */
.tech-card:hover .card-watermark {
    transform: rotate(90deg) scale(1.1);
    color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   AMBIENT SECTION ANIMATIONS
=========================================== */
.floating-shape {
    position: absolute;
    opacity: 0.03;
    background: var(--brand-black);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
    animation: floatRotate 20s infinite linear;
}

.shape-hex-large {
    width: 300px;
    height: 350px;
    top: -50px;
    right: -100px;
}

.shape-hex-small {
    width: 150px;
    height: 175px;
    bottom: 50px;
    left: -50px;
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes floatRotate {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(40px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}













/* ==========================================
   FOOTER SECTION
=========================================== */
.site-footer {
    background-color: #f1f4f6; /* Light grey base */
    border-top: 4px solid var(--brand-blue);
    overflow: hidden;
}

/* Simulated dotted map background effect */
.footer-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-image: radial-gradient(#d1d8df 2px, transparent 2px);
    background-size: 20px 20px; /* Adjust spacing of dots */
    z-index: 0;
}

.footer-heading {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #333333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

/* Hover effect on links */
.footer-links a:hover {
    color: var(--brand-blue);
    padding-left: 5px; /* Slight nudge to the right on hover */
}

.footer-icon {
    color: var(--brand-blue);
}

.hover-primary:hover {
    color: var(--brand-blue) !important;
}

/* Social Icons styling */
.footer-social a {
    color: var(--brand-black);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--brand-blue);
    transform: translateY(-3px);
}

/* ==========================================
   FOOTER BOTTOM BAR
=========================================== */
.footer-bottom {
    background-color: var(--brand-black); /* Industrial black bottom bar */
    color: var(--brand-white);
    position: relative;
    z-index: 2;
}

.footer-bottom-links a {
    color: var(--brand-white);
    text-decoration: none;
    margin: 0 5px;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 0.7;
}








/* ==========================================
   PAGE BANNER SECTION
=========================================== */
.page-banner {
    /* Replace with your actual banner image link */
    background: url('banner-background-image.jpg') no-repeat center center; 
    background-size: cover;
    height: 350px;
    border-bottom: 5px solid var(--brand-blue);
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(11, 11, 11, 0.85), rgba(11, 11, 11, 0.6));
    z-index: 0;
}

.banner-link {
    transition: color 0.3s ease;
}

.banner-link:hover {
    color: var(--brand-blue) !important;
}

/* Breadcrumb Divider Color */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

















/* ==========================================
   CREATIVE MATERIALS CONSOLE SECTION
=========================================== */
.material-console-section {
    background-color: #fafbfc; /* Extremely light grey/blue for contrast */
    overflow: hidden;
}

/* Massive background typography for depth */
.ambient-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.console-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* --- LEFT COLUMN: THE NAVIGATION --- */
.console-sidebar {
    background-color: var(--brand-black);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.custom-material-nav {
    padding: 20px 0;
}

.custom-material-nav .nav-link {
    border-radius: 0;
    color: rgba(255,255,255,0.6);
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
}

.custom-material-nav .nav-link:hover {
    color: var(--brand-white);
    background: rgba(255,255,255,0.03);
    padding-left: 35px;
}

.custom-material-nav .nav-link.active {
    background-color: rgba(108, 168, 209, 0.1);
    color: var(--brand-white);
    border-left: 4px solid var(--brand-blue);
}

.nav-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.custom-material-nav .nav-link.active .nav-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--brand-blue);
}

/* --- RIGHT COLUMN: THE DATA DISPLAY --- */
.console-display {
    background-color: #ffffff;
    /* Subtle Technical Grid Background */
    background-image: 
        linear-gradient(rgba(108, 168, 209, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 168, 209, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    min-height: 500px;
}

.pane-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 15rem;
    color: rgba(108, 168, 209, 0.04);
    z-index: 0;
    pointer-events: none;
    transform: rotate(-10deg);
}

.pane-title {
    color: var(--brand-black);
    position: relative;
    z-index: 1;
    border-bottom: 2px dashed rgba(0,0,0,0.1);
    padding-bottom: 15px;
    display: inline-block;
}

/* --- THE MATERIAL CHIPS (SUB-MATERIALS) --- */
.material-chip {
    position: relative;
    z-index: 1;
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    /* Chamfered industrial cut on top-right */
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.material-chip:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(108, 168, 209, 0.3);
}

/* --- ANIMATIONS FOR TAB SWITCHING --- */
.tab-pane.active .material-chip {
    animation: chipFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateY(15px);
}

/* Stagger the animation for the first 12 chips for a cascading effect */
.tab-pane.active .material-chip:nth-child(1) { animation-delay: 0.05s; }
.tab-pane.active .material-chip:nth-child(2) { animation-delay: 0.1s; }
.tab-pane.active .material-chip:nth-child(3) { animation-delay: 0.15s; }
.tab-pane.active .material-chip:nth-child(4) { animation-delay: 0.2s; }
.tab-pane.active .material-chip:nth-child(5) { animation-delay: 0.25s; }
.tab-pane.active .material-chip:nth-child(6) { animation-delay: 0.3s; }
.tab-pane.active .material-chip:nth-child(7) { animation-delay: 0.35s; }
.tab-pane.active .material-chip:nth-child(8) { animation-delay: 0.4s; }
.tab-pane.active .material-chip:nth-child(9) { animation-delay: 0.45s; }
.tab-pane.active .material-chip:nth-child(10) { animation-delay: 0.5s; }
.tab-pane.active .material-chip:nth-child(11) { animation-delay: 0.55s; }
.tab-pane.active .material-chip:nth-child(12) { animation-delay: 0.6s; }

@keyframes chipFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE MOBILE FIX FOR TABS --- */
@media (max-width: 991px) {
    .custom-material-nav {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0;
    }
    
    .custom-material-nav .nav-link {
        padding: 15px 25px;
        border-left: none;
        border-bottom: 3px solid transparent;
        text-align: center;
        justify-content: center;
    }

    .custom-material-nav .nav-link.active {
        border-left: none;
        border-bottom: 3px solid var(--brand-blue);
    }

    .nav-arrow {
        display: none; /* Hide arrows on mobile horizontally scrolling tabs */
    }
    
    .console-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .console-display {
        min-height: auto;
    }
}












/* ==========================================
   MATERIAL SPECIFIC PAGE
=========================================== */
.tracking-wide {
    letter-spacing: 1.5px;
}

/* Custom Search Box */
.search-box {
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border-radius: 6px;
    overflow: hidden;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-blue);
    font-size: 1.1rem;
    z-index: 2;
}

.custom-search-input {
    padding: 18px 20px 18px 50px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.custom-search-input:focus {
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.25rem rgba(108, 168, 209, 0.25);
}

/* Grade Specification Cards */
.grade-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    text-decoration: none;
    color: var(--brand-black);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.grade-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--brand-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.grade-title {
    position: relative;
    z-index: 1;
}

.grade-arrow {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* Hover Physics */
.grade-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(108, 168, 209, 0.15) !important;
    color: var(--brand-blue);
}

.grade-card:hover::before {
    transform: scaleY(1);
}

.grade-card:hover .grade-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--brand-blue);
}
















/* ==========================================
   MATERIAL DATASHEET SPECIFICS
=========================================== */

/* Drop shadow for standalone product images (like in the intro) */
.drop-shadow-heavy {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Background Patterns */
.bg-hex-pattern {
    position: absolute;
    top: -50px;
    right: -100px;
    font-size: 40rem;
    color: rgba(108, 168, 209, 0.03); /* Faint brand blue */
    z-index: 0;
    pointer-events: none;
}

.bg-gear-pattern {
    position: absolute;
    bottom: -100px;
    left: -100px;
    font-size: 35rem;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    transform: rotate(15deg);
}

/* --- 12 Image Product Grid --- */
.product-gallery-item {
    border: 1px solid #eaeaea;
    cursor: pointer;
}

.product-gallery-item img {
    transition: transform 0.5s ease;
    aspect-ratio: 4/3;
    object-fit: contain; /* Ensures standard fastening images fit nicely */
    padding: 15px;
}

.product-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 11, 11, 0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-gallery-item:hover img {
    transform: scale(1.1);
}

.product-gallery-item:hover .product-overlay {
    opacity: 1;
}

/* --- Lists (Specifications & Characteristics) --- */
.custom-check-list {
    list-style: none;
    padding-left: 0;
}

.custom-check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 500;
}

.custom-check-list li::before {
    content: '\f054'; /* Chevron Right from FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand-blue);
    font-size: 0.85rem;
}

.custom-arrow-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-light);
}

.custom-arrow-list li::before {
    content: '\f101'; /* Double Right Arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--brand-blue);
    font-size: 1rem;
}

/* --- Properties Tables --- */
.table-container {
    border: 1px solid rgba(0,0,0,0.05);
}

.table-container h5 {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
}

.table td, .table th {
    padding: 15px;
    border-bottom-color: #f1f1f1;
}

.table-hover tbody tr:hover {
    background-color: rgba(108, 168, 209, 0.05); /* Soft brand blue hover */
}

/* --- PDF Button --- */
.pdf-btn {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pdf-btn:hover {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: translateY(-3px);
}







/* ==========================================
   GLOBAL SPEED OVERRIDES
=========================================== */
/* Make all card hover physical reactions faster */
.material-card, .grade-card, .tech-card, .product-gallery-item img, .app-card {
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Speed up the tab chip reveal animations */
.tab-pane.active .material-chip {
    animation-duration: 0.25s !important;
}

/* Speed up background icon sweeps and rotates */
.card-bg-icon, .hover-sweep, .card-watermark {
    transition: all 0.3s ease !important;
}

/* Custom background color for technical specification table headers */
.header-styled-table .table-dark-blue {
    background-color: #0d47a1 !important; /* Deep industrial blue match */
    color: #ffffff;
}

.header-styled-table th {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 8px !important;
}























/* ==========================================
   ABOUT US PAGE STYLES
=========================================== */

/* Watermark Background */
.bg-watermark-right {
    position: absolute;
    top: 10%;
    right: -5%;
    font-size: 45rem;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    transform: rotate(-10deg);
}

/* Image Grid Styling */
.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 2;
    border: 5px solid #ffffff; /* Gives it a cutout look against the images */
}

/* Stats Section */
.stats-section {
    border-top: 5px solid var(--brand-blue);
}

.stat-box i {
    font-size: 2.5rem;
}

/* Core Value Cards */
.value-card {
    border: 1px solid rgba(0,0,0,0.04);
    border-bottom: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--brand-blue);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.value-card:hover .value-icon {
    background-color: var(--brand-blue) !important;
    color: #ffffff !important;
    transform: rotateY(180deg);
}




























/* ==========================================
   CONTACT US PAGE DESIGN
=========================================== */

/* Watermark Element */
.bg-watermark-left {
    position: absolute;
    bottom: -15%;
    left: -10%;
    font-size: 50rem;
    color: rgba(0, 0, 0, 0.015);
    z-index: 0;
    pointer-events: none;
}

/* Hub Communication Cards */
.contact-hub-card {
    background-color: var(--brand-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.hub-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(108, 168, 209, 0.08); /* Transparent Brand Blue */
    transition: all 0.25s ease !important;
}

.hub-action-link {
    color: var(--brand-black);
    transition: color 0.2s ease;
}

/* Card Hover Animations */
.contact-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(108, 168, 209, 0.08) !important;
    border-color: rgba(108, 168, 209, 0.2);
}

.contact-hub-card:hover .hub-icon-wrapper {
    background-color: var(--brand-blue);
}

.contact-hub-card:hover .hub-icon-wrapper i {
    color: #ffffff !important;
}

.contact-hub-card:hover .hub-action-link {
    color: var(--brand-blue);
}

/* Layout Constraint Helper */
.max-w-md {
    max-width: 480px;
}

/* Map Frame Control rules */
.vh-50 {
    height: 50vh;
    min-height: 400px;
}

.absolute-map {
    top: 0;
    left: 0;
    filter: grayscale(10%) contrast(105%); /* Gives it a slight architectural technical clean look */
}





























/* ==========================================
   UNDER CONSTRUCTION / 404 SECTION
=========================================== */
.construction-section {
    min-height: 70vh; /* Keeps it tall but leaves room for header/footer */
    display: flex;
    align-items: center;
    background-color: #fafbfc;
    /* Technical Blueprint Background */
    background-image: 
        linear-gradient(rgba(108, 168, 209, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 168, 209, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    overflow: hidden;
}

.construction-card {
    background: #ffffff;
    border-top: 5px solid var(--brand-blue);
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

/* Watermark */
.error-code-watermark {
    font-size: 12rem;
    font-weight: 900;
    color: rgba(108, 168, 209, 0.03); /* Faint brand blue */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    letter-spacing: -5px;
    pointer-events: none;
}

/* Gear Animations */
.gear-animation-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.gear-main {
    font-size: 7rem;
    color: var(--brand-blue);
    animation: spin 12s linear infinite;
    display: inline-block;
}

.gear-small {
    font-size: 3.5rem;
    color: var(--brand-black);
    position: absolute;
    bottom: -15px;
    right: -15px;
    animation: spin-reverse 8s linear infinite;
    display: inline-block;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }

/* Search Box Tweaks */
.search-icon-404 {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-blue);
    z-index: 4;
}
.search-box-404 .form-control {
    padding-left: 50px;
    border-radius: 8px;
    background-color: #f8f9fa;
}


















/* ==========================================
   SMART GLOBAL SEARCH STYLES
=========================================== */
.custom-search-group {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.custom-search-group:focus-within {
    border-color: var(--brand-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(108, 168, 209, 0.15);
}

.custom-search-group input {
    background-color: transparent;
    font-size: 0.9rem;
}

/* Dropdown Container */
#searchSuggestions {
    top: 110%;
    z-index: 9999;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Individual Suggestion Items */
.suggestion-item {
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.suggestion-item:hover, .suggestion-item.active {
    background-color: #f8f9fa;
    border-left-color: var(--brand-blue);
}

.suggestion-title {
    color: var(--brand-black);
    font-weight: 600;
}

.suggestion-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
}

.hover-primary:hover { color: var(--brand-blue) !important; }