/* 
   Industrial Export Premium Design System
   Company: Smart Well Fluid (Activated Carbon & Filter Media)
   Theme: Professional, Confident, Trustworthy
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Primary Color Palette (STRICT) */
    --primary-dark: #1B3D1A;
    /* Deep Industrial Green */
    --primary-fresh: #4D9B50;
    /* Fresh Green */
    --primary-light: #6bb36d;
    /* Lighter Green for subtle states */

    /* Bootstrap Override Tokens */
    --bs-primary: #4D9B50;
    /* Match Fresh Green */
    --bs-primary-rgb: 77, 155, 80;
    /* RGB for Fresh Green */
    --bs-link-color: #4D9B50;
    /* Match link color to green */
    --bs-link-hover-color: #1B3D1A;
    /* Hover to deep green */

    /* Neutrals */
    --bg-light: #F5F5F5;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #EEEEEE;
    --white: #FFFFFF;

    /* System Tokens */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    padding-top: 85px; /* Offset for fixed-top navbar */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(28px, 6vw, 56px);
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
}

h3 {
    font-size: clamp(24px, 3vw, 26px);
}

p {
    font-size: 16px;
    color: var(--medium-gray);
}

.leading-loose {
    line-height: 1.8;
}

/* Global Helper Overrides (Strict Brand) */
.text-primary {
    color: var(--primary-fresh) !important;
}

.bg-primary {
    background-color: var(--primary-fresh) !important;
}

.btn-primary {
    background-color: var(--primary-fresh) !important;
    border-color: var(--primary-fresh) !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.link-primary {
    color: var(--primary-fresh) !important;
}

.leading-relaxed {
    line-height: 1.6;
}

.ls-1 {
    letter-spacing: 1px;
}

.border-fresh-green,
.border-primary {
    border-color: var(--primary-fresh) !important;
}

.industrial-stat-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-top: 4px solid var(--primary-fresh);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: var(--transition);
}

.industrial-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

.application-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.application-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-fresh);
    transform: translateY(-3px);
}

.application-card i {
    font-size: 2.5rem;
    color: var(--primary-fresh);
    margin-bottom: 20px;
    display: block;
}

.shadow-premium {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.transition-hover {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
}

.ls-1 {
    letter-spacing: 1px !important;
}

/* Container & Spacing */
.container {
    max-width: 1320px;
}

.section-padding {
    padding: 100px 0;
}

.py-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Backgrounds */
.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-dark-green {
    background-color: var(--primary-dark) !important;
}

.bg-fresh-green {
    background-color: var(--primary-fresh) !important;
}

/* Buttons Style Upgrade */
.btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-fresh);
    border-color: var(--primary-fresh);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 155, 80, 0.2);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

/* Product Card Action Buttons */
.btn-product-action {
    font-size: 11px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 50px !important;
}

@media (max-width: 1399px) {
    .btn-product-action {
        font-size: 10px !important;
        padding: 10px 8px !important;
    }
}


/* Navbar Upgrade */
.header-logo {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.header-brand-name {
    font-size: 24px;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

@media (max-width: 991px) {
    .header-logo {
        height: 42px !important;
    }
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 769px) {
    .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
    }
}

.nav-link {
    font-weight: 600;
    color: var(--dark-gray) !important;
    padding: 10px 20px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary-fresh);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link:hover::after, 
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-fresh) !important;
}

/* Mega Dropdown Custom Layout Upgrade */
.dropdown-mega {
    position: static !important;
}

.mega-dropdown-content {
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 35px !important;
    min-width: 650px !important;
    margin-top: 15px !important;
    animation: menuSlideDown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes menuSlideDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.mega-column-header {
    font-family: var(--font-heading);
    color: var(--primary-fresh);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-column-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(77, 155, 80, 0.2), transparent);
}

.dropdown-item {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--dark-gray);
    padding: 10px 15px !important;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.dropdown-item:hover {
    background: rgba(77, 155, 80, 0.05) !important;
    color: var(--primary-fresh) !important;
    border-left: 3px solid var(--primary-fresh);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.mega-divider {
    border-right: 1px solid var(--light-gray);
}

/* 2-Column Products Mega Menu Upgrade */
@media (min-width: 992px) {
    .dropdown-mega-v2 {
        min-width: 630px !important;
        padding: 15px !important;
        border-radius: 12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 15px !important;
    }
    
    .border-mega-start {
        border-left: 1px solid #f0f0f0;
        padding-left: 15px !important;
    }
}

.dropdown-mega-v2 .dropdown-header {
    padding: 10px 0; /* No left padding to align with items */
    color: var(--primary-fresh) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.dropdown-mega-v2 .dropdown-item {
    padding: 10px 0 !important; /* Align left with header */
    font-weight: 500;
    color: #444 !important;
    background: transparent !important;
    border-left: none !important;
    transform: none !important;
    transition: color 0.3s ease;
}

.dropdown-mega-v2 .dropdown-item:hover {
    color: var(--primary-fresh) !important;
    background: transparent !important;
    box-shadow: none !important;
}
/* ==========================================================
   NEW CLEAN MOBILE UI (SIDE MENU)
   ========================================================== */
@media (max-width: 991px) {
    /* Logo Sizing */
    .header-logo {
        height: 50px !important;
    }

    /* Offcanvas Core */
    .offcanvas {
        height: 100vh !important;
        background-color: #ffffff !important;
        width: 300px !important;
    }

    .offcanvas-header {
        padding: 1rem 1.25rem !important;
    }

    .offcanvas-body {
        padding: 0 !important;
    }

    /* Links & Navigation */
    .offcanvas .nav-link {
        padding: 1rem 1.25rem !important;
        color: #333 !important;
        font-weight: 600;
        border-bottom: 1px solid #f1f1f1;
    }

    .offcanvas .dropdown-menu {
        border-radius: 0;
        margin: 0;
        padding-bottom: 1rem !important;
    }

    .offcanvas .dropdown-item {
        padding: 0.6rem 2rem !important;
        font-size: 0.95rem;
    }

    /* Arrow icon for products */
    .offcanvas .dropdown-toggle::after {
        display: none !important; /* Hide default */
    }

    /* Quote Button */
    .offcanvas .nav-item:last-child {
        padding: 1.5rem 1.25rem !important;
    }
}

/* Global Reset for Bootstrap's body padding shift & Overflow Protection */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
    padding-right: 0 !important; /* Force removal of ANY injected padding */
}

/* Hero Section Upgrade */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-light);
    overflow: hidden;
    padding-top: 50px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-light) 0%, rgba(245, 245, 245, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Card-Based Product Grid */
.product-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-fresh);
}

.product-card-body {
    padding: 30px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-arrow-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #E8F5E9 !important;
    /* Constant Light Green Background */
    color: var(--primary-fresh) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(77, 155, 80, 0.1);
    z-index: 10;
    border: 1px solid #C8E6C9;
}

.card-arrow-btn i {
    font-size: 1.5rem !important;
    line-height: 1 !important;
    color: var(--primary-industrial) !important;
    display: inline-block !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-card:hover .card-arrow-btn {
    background: #E8F5E9 !important;
    /* Static Background Color */
    transform: rotate(-45deg);
    /* Directional Change */
    box-shadow: 0 6px 12px rgba(77, 155, 80, 0.15);
}

.product-card:hover .card-arrow-btn i {
    color: var(--primary-industrial) !important;
    /* Maintain Icon Color */
    transform: scale(1.05);
}

.product-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Feature Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(77, 155, 80, 0.1);
    color: var(--primary-fresh);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
    transition: var(--transition);
}

.feature-card:hover .icon-circle {
    background-color: var(--primary-fresh);
    color: var(--white);
    transform: rotateY(180deg);
}

/* Precise Side-Tab Navigation */
.sidetab-nav .nav-link {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 12px;
    border-radius: 8px !important;
    padding: 25px;
    color: #444;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Kill global menu line on side-tabs */
.sidetab-nav .nav-link::after {
    display: none !important;
}

.sidetab-nav .nav-link i {
    font-size: 32px;
    color: var(--primary-fresh);
}

.sidetab-nav .nav-link h6 {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidetab-nav .nav-link span {
    font-size: 12px;
    color: #999;
}

.sidetab-nav .nav-link.active {
    background: var(--primary-fresh) !important;
    border-color: var(--primary-fresh);
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(77, 155, 80, 0.1);
}

.sidetab-nav .nav-link.active i,
.sidetab-nav .nav-link.active span {
    color: #fff !important;
}

.sidetab-content {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* Precision Segmented Quality Scale */
.quality-scale-v4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.scale-track {
    display: flex;
    gap: 4px;
    flex-grow: 1;
}

.scale-segment {
    height: 12px;
    flex-grow: 1;
    background: #f0f0f0;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.scale-segment.active {
    background: var(--primary-fresh);
    box-shadow: 0 0 10px rgba(77, 155, 80, 0.2);
}

.scale-readout {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--primary-fresh);
    padding-left: 15px;
    min-width: 60px;
}

.range-circle-v3 {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-fresh);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary-fresh);
    margin-bottom: 15px;
}

.xsmall {
    font-size: 11px;
    letter-spacing: 1px;
}

/* Technical Table Mobile Fix */
.responsive-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm); /* Added shadow for premium aesthetic */
}

.spec-table {
    background: #fff;
    border: 1px solid #eee;
    min-width: 600px; /* Prevents squashing on mobile */
    border-radius: 12px; /* Rounded corners for the table itself */
    overflow: hidden; /* Ensures rounded corners are visible */
}

.spec-table table {
    margin-bottom: 0;
    width: 100%; /* Ensure table takes full width of wrapper */
    border-collapse: collapse; /* For cleaner borders */
}

.spec-table thead th {
    background: #fafafa;
    border-bottom: 2px solid #eee;
    padding: 20px 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    text-align: left; /* Align text to left */
}

.spec-table tbody td {
    padding: 18px 15px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}
.table-grade {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.table-grade thead th {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.table-grade tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 15px;
}

.table-grade tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.table-grade tbody tr:hover {
    background-color: rgba(77, 155, 80, 0.05);
}

/* Stats Counter Section */
.stat-item {
    padding: 40px 20px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-fresh);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Premium Modal & Form Upgrade */
#enquireModal .modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.xsmall { font-size: 0.75rem !important; }

.form-floating-custom .form-control {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
    border-color: rgba(77, 155, 80, 0.15);
}

.form-floating-custom .form-control:focus {
    border-color: var(--primary-fresh);
    box-shadow: 0 0 0 4px rgba(77, 155, 80, 0.1);
}

.form-control-lg {
    font-size: 1rem;
    min-height: 60px;
}

#enquireModal .modal-header {
    border-bottom: none;
}

#enquireModal .btn-close-white {
    opacity: 0.8;
    transition: var(--transition);
}

#enquireModal .btn-close-white:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Modal animation override */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Contact Grid Enhancements */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Upgrade */
footer {
    background: linear-gradient(to bottom, #0b1c0b 0%, #000000 100%);
    background-color: #0b1c0b;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

footer h2,
footer h5 {
    color: var(--white) !important;
    position: relative;
}

footer h2 {
    font-size: 28px;
    line-height: 1.4;
}

footer h5 {
    font-size: 18px;
    margin-bottom: 30px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-fresh);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 12px;
}

footer a:hover {
    color: var(--primary-fresh);
    padding-left: 5px;
}

/* Utilities */
.rounded-sm {
    border-radius: var(--radius-sm) !important;
}

.rounded-md {
    border-radius: var(--radius-md) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.shadow-premium {
    box-shadow: var(--shadow-md) !important;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides */
/* Mobile Hero Optimization */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        text-align: center;
        padding-top: 40px !important; /* Space above top */
    }

    .hero h1 {
        font-size: 2.4rem !important; /* Increased title size */
        line-height: 1.1 !important;
        margin-top: 10px;
    }

    .hero p.lead {
        font-size: 0.95rem !important; /* Reduced description size */
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
    }

    .hero .d-flex {
        gap: 10px !important;
    }
}

/* --- Premium Product Page Components --- */
.spec-table {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--light-gray);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.spec-table thead {
    background: var(--primary-dark);
    color: var(--white);
}

.spec-table th {
    padding: 1.25rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
}

.spec-table td {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
    vertical-align: middle;
}

/* FAQ Accordion Industrial */
.faq-accordion .accordion-item {
    border: none;
    background: transparent;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 5px;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 1.5rem 0;
    box-shadow: none;
    font-size: 1.1rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-fresh);
    background: transparent;
}

.faq-accordion .accordion-button::after {
    background-size: 1rem;
}

.faq-accordion .accordion-body {
    padding: 0 0 1.5rem 0;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* CTA Banner Mid-Page */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #052a20 100%);
    border-radius: var(--radius-md);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-fresh);
    filter: blur(150px);
    opacity: 0.15;
}

.section-tag {
    color: var(--primary-fresh);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--primary-fresh);
    margin: 1.5rem 0;
}

/* --- Hero Small (Product Heros) --- */
.hero-small {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 480px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Ensure white text visibility in heros against global defaults and specific branding overrides */
.hero-small h1,
.hero-small h1 span {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-small .text-white,
.hero-small .text-white-50,
.hero-small .lead,
.hero-small .breadcrumb-item,
.hero-small .breadcrumb-item a {
    color: var(--white) !important;
}

.hero-small .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* This was overriding the H1 color previously */
.hero-small .text-primary-fresh {
    color: var(--primary-fresh);
}

.hero-small .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-small {
        min-height: auto;
        padding: 4rem 0;
        text-align: center;
    }

    .hero-small .breadcrumb {
        justify-content: center;
    }

    .hero-small .d-flex {
        justify-content: center;
    }
}

/* Floating Button Common Elevation */
.call-float-fixed, .whatsapp-float-fixed, .quote-float-fixed {
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.25));
}

/* Call Floating Button - Stacked above WhatsApp */
.call-float-fixed {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 105px; /* (30px bottom + 60px whatsapp + 15px gap) */
    right: 30px;
    background-color: #007bff;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.call-float-fixed:hover {
    background-color: #0056b3;
}

/* WhatsApp Floating Button */
.whatsapp-float-fixed {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-whatsapp-new 2.5s infinite;
}

.whatsapp-float-fixed:hover {
    background-color: #128c7e;
    transform: scale(1.15);
}

/* Get Quote Floating Button - Left Side */
.quote-float-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 15px 25px;
    background-color: #f39c12; /* Vibrant Industrial Orange */
    color: #FFF !important;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
}

.quote-float-fixed:hover {
    background-color: #d68910;
    transform: translateY(-5px);
}

@keyframes pulse-whatsapp-new {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Floating Buttons */
@media (max-width: 576px) {
    .whatsapp-float-fixed, .call-float-fixed {
        width: 50px;
        height: 50px;
        right: 12px;
    }
    .whatsapp-float-fixed {
        bottom: 12px;
        font-size: 24px;
    }
    .call-float-fixed {
        bottom: 72px; /* 12px bottom + 50px whatsapp + 10px gap */
        font-size: 20px;
    }
    .quote-float-fixed {
        bottom: 12px;
        left: 12px;
        padding: 10px 18px;
        font-size: 11px;
    }
}
