/* Global Design System */
:root {
    --brand-blue: #003d82;
    --brand-blue-rgb: 0, 61, 130;
    --brand-dark-blue: #002d63;
    --brand-orange: #ff6b35;
    --brand-orange-rgb: 255, 107, 53;
    --brand-orange-hover: #e85521;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

html,
body {
    overflow-x: hidden;
    /* Fix horizontal scroll */
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 18px;
    /* Minimum 16px */
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
    font-family: Verdana, Geneva, sans-serif;
    line-height: 1.25;
    color: var(--brand-blue);
}

p,
li,
span,
a,
div {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.underline-decorator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
    border-radius: 2px;
    margin-top: 0.5rem;
}

/* Navbar Scoped Styles */
.bg-dark-blue {
    background-color: var(--brand-dark-blue);
}

.navbar {
    background-color: white !important;
    /* Force white background */
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .navbar {
        height: 80px;
        /* Fixed height for consistency on desktop */
    }

    .navbar .nav-link {
        line-height: 80px;
        /* Vertically center links */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .btn-contact-nav {
        /* Reset line-height for button */
        line-height: 1.5 !important;
        margin-top: 0 !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Logo Sizing */
.nav-logo {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

/* Mobile & Tablet Logo Adjustments */
@media (max-width: 991px) {

    /* Tablet */
    .nav-logo {
        height: 50px;
    }
}

@media (max-width: 576px) {

    /* Mobile */
    .nav-logo {
        height: 40px;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

/* Very Small Devices (e.g. 320px) */
@media (max-width: 375px) {
    .nav-logo {
        height: 32px;
    }

    .dropdown-item {
        white-space: normal !important;
        word-break: break-word;
        padding-right: 0.5rem;
        /* Adjust padding if needed */
    }
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-size: 18px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-orange) !important;
}

/* Premium Offcanvas Styles */
.offcanvas {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 1199px) {
    .offcanvas {
        max-width: 85%;
        border-top-left-radius: 1.5rem;
        border-bottom-left-radius: 1.5rem;
    }

    .offcanvas-header {
        background: var(--bg-light);
        padding: 1.5rem;
    }

    .offcanvas-body {
        padding: 2rem 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
    }

    .dropdown-menu {
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: var(--bg-light);
        margin-top: 0.5rem;
        padding-left: 1rem;
    }
}

/* Contact Button in Nav */
.btn-contact-nav {
    background-color: var(--brand-blue);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 61, 130, 0.2);
}

.btn-contact-nav:hover {
    background-color: var(--brand-orange);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
}

/* Hamburger Animation - Static for Offcanvas */
.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger-icon {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--brand-blue);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hover effect for hamburger */
.navbar-toggler:hover .hamburger-icon span {
    background: var(--brand-orange);
}

/* Button Styles with Enhanced Hover Effects */
.btn {
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.5rem;
}

.btn-warning {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
}

.btn-warning:hover {
    background-color: #e55a2a;
    border-color: #e55a2a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-primary:hover {
    background-color: #002d6b;
    border-color: #002d6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 61, 130, 0.3);
}

.btn-hover {
    position: relative;
    overflow: hidden;
}

.btn-hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn-hover:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hover span {
    position: relative;
    z-index: 1;
}

/* Badge Styles */
.badge {
    letter-spacing: 1.5px;
    padding: 0.5rem 1.5rem;
}

/* Image Wrapper with Floating Badge */
.image-wrapper {
    position: relative;
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.main-image {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-wrapper:hover .main-image {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Feature List Items */
.feature-list .feature-item {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}

.feature-list .feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 107, 53, 0.05);
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, #e55a2a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    fill: white;
    width: 16px;
    height: 16px;
}

/* Info Card with Gradient Border */
.info-card {
    background: white;
    transition: all 0.4s ease;
}

.gradient-border {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, var(--brand-orange), var(--brand-blue)) border-box;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 61, 130, 0.2) !important;
}

.icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 61, 130, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.info-card:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
}

/* Product Cards with Advanced Hover Effects */
.product-card {
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 61, 130, 0.2);
    border-color: var(--brand-orange);
}

.product-card-inner {
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 61, 130, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.product-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
    transform: rotate(12deg) scale(1.15);
}

.product-card:hover .icon-circle svg {
    fill: white;
}

.icon-circle svg {
    fill: var(--brand-blue);
    transition: fill 0.4s ease;
}

.product-image {
    overflow: hidden;
    border-radius: 0.75rem;
}

.product-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 1rem;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Feature Boxes */
.feature-box {
    background: white;
    border: 2px solid #f3f4f6;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
    transition: height 0.4s ease;
}

.feature-box:hover::before {
    height: 100%;
}

.feature-box:hover {
    border-color: var(--brand-orange);
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 61, 130, 0.15);
}

.feature-icon-lg {
    width: 70px;
    /* Reduced from 90px */
    height: 70px;
    /* Reduced from 90px */
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover .feature-icon-lg {
    background: var(--brand-orange);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
    transform: scale(1.1) translateY(-5px);
    border-color: transparent;
}

.feature-icon-lg svg {
    fill: var(--brand-blue);
    transition: fill 0.4s ease;
}

.feature-box:hover .feature-icon-lg svg {
    fill: white;
}

/* Gallery Cards with Overlay */
.gallery-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-image-wrapper img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    bottom: 0;
    /* Premium Solid Dark Overlay */
    background: rgba(0, 45, 99, 0.95);
    /* Deep Brand Blue */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-content {
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.gallery-content h5,
.gallery-content p {
    color: white !important;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.gallery-card:hover img {
    transform: scale(1.15);
}

/* Application Cards */
.application-card {
    background: white;
    border: 2px solid #f3f4f6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.application-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 61, 130, 0.2);
}

.app-icon {
    width: 65px;
    /* Reduced from 80px */
    height: 65px;
    /* Reduced from 80px */
    margin: 0 auto;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.application-card:hover .app-icon {
    background: var(--brand-orange);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
    transform: scale(1.1);
}

.app-icon svg {
    fill: var(--brand-blue);
    transition: fill 0.4s ease;
}

.application-card:hover .app-icon svg {
    fill: white;
}

/* Client Logo Boxes */
.client-logo-box {
    background: white;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    min-height: 120px;
}

.client-logo-box:hover {
    border-color: var(--brand-orange);
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 61, 130, 0.15);
}

/* Benefit Items */
.benefit-item {
    transition: all 0.3s ease;
    background: white;
    border-radius: 0.75rem;
}

.benefit-item:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: translateX(10px);
}

.benefit-icon {
    width: 36px;
    height: 36px;
    background: var(--brand-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--brand-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 61, 130, 0.3);
}

.benefit-icon svg {
    fill: white;
    width: 18px;
    height: 18px;
}

/* Service and Export Content */
.service-content,
.export-content {
    position: relative;
    padding-left: 2rem !important;
}

.service-content {
    border-left: 4px solid var(--brand-orange);
}

.export-content {
    border-left: 4px solid var(--brand-blue);
}


/* Text Colors */
.text-primary {
    color: var(--brand-blue) !important;
}

.text-warning {
    color: var(--brand-orange) !important;
}

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

/* Background Colors */
.bg-primary {
    background-color: #ffffff !important;
}

/* Footer */
footer {
    transition: background-color 0.3s ease;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--brand-orange) !important;
    text-decoration: underline !important;
}

footer p {
    margin-bottom: 0.75rem;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    padding: 0.5rem;
    max-height: none;
    overflow-y: visible;
}

.dropdown-item {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    font-size: 17px;
    color: #1e293b;
}

.dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--brand-orange);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Image Control */
.responsive-img-limit {
    max-width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .responsive-img-limit {
        max-width: 80%;
        /* Prevent massive images on desktop if not desired */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-badge {
        position: static;
        margin-top: 20px;
    }

    .product-image img {
        height: 200px;
    }

    .app-icon {
        width: 60px;
        height: 60px;
    }

    .icon-box {
        width: 70px;
        height: 70px;
    }

    .icon-box svg {
        width: 36px;
        height: 36px;
    }

    .feature-icon-lg {
        width: 70px;
        height: 70px;
    }
}

/* Footer Styles - Dark Theme */
.footer-section {
    background-color: #1a1a1a;
    /* Fallback */
    background: radial-gradient(circle at top right, #1f1f1f 0%, #000000 100%);
    border-top: 5px solid var(--brand-orange);
    color: #b0b0b0;
}

.footer-heading {
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.5rem;
}

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

/* Spacer Adjustments: No underline */
.footer-spacer::after {
    display: none;
}

@media (max-width: 767px) {
    .footer-product-extension {
        margin-top: -0.5rem;
        /* Reduced negative margin to ensure gap exists */
    }
}

.footer-links li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.25rem;
}

.footer-links li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 2px;
    color: white;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links li:hover::before {
    color: var(--brand-orange);
    transform: translateX(4px);
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

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

/* Social Icons */
.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #333;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--brand-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.social-icon:hover svg {
    fill: white;
}

/* Footer Bottom */
.footer-bottom {
    border-color: #333 !important;
}

/* Bottom Bar Background for visual appeal matching brand */
.footer-bottom-bar {
    background-color: var(--brand-orange);
    color: white;
}


/* Badge Style Override */
.badge {
    background-color: #ffffff !important;
}


/* Features Section Text Justification */
#quality .feature-box p {
    text-align: justify !important;
}

/* Utility Classes */
.leading-relaxed {
    line-height: 1.8 !important;
}

.opacity-10 {
    opacity: 0.1;
}

/* Footer Credits Styling */
.footer-credits {
    font-size: 18px;
    /* Increased size (approx 16px/18px depending on root) */
    font-weight: 500;
    color: white;
    opacity: 0.9;
}

.footer-credits a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Page Header Styles */
.page-header {
    background-image: url('../img/section-header.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    padding: 120px 0;
    margin-bottom: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    /* Increased darkness for better text contrast */
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-custom .breadcrumb-item {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: var(--brand-orange);
    content: "/";
    padding: 0 0.5rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--brand-orange) !important;
}

@media (max-width: 768px) {
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .display-6 {
        font-size: 1.8rem;
    }
}

/* Page Aesthetics */
.underline-decorator {
    width: 60px;
    height: 4px;
    background: var(--brand-orange);
    border-radius: 2px;
}

/* Contact Page Section Styles */
.contact-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-orange);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.2);
}

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

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--brand-orange);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon-wrapper {
    background: var(--brand-blue);
    transform: rotateY(360deg);
}

.contact-card h3 {
    font-family: 'Verdana', sans-serif;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.contact-link {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.contact-link:hover {
    color: var(--brand-orange);
    transform: translateX(3px);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}

.map-container iframe {
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.product-item-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    text-decoration: none !important;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    z-index: 1;
}

/* Sweep to Bottom Effect */
.product-image-wrapper::before {
    content: 'VIEW DETAILS';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--brand-blue-rgb), 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.product-item-card:hover .product-image-wrapper::before {
    transform: translateY(0);
}

.product-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-details {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-title {
    color: var(--brand-blue);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Product Detail Page Styles */
.product-showcase {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.product-image-main {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-image-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-image-main:hover img {
    transform: scale(1.05);
}

.feature-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fff;
    border-left: 4px solid var(--brand-orange);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
}

.feature-icon-wrapper {
    width: 24px;
    height: 24px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: var(--brand-orange);
    flex-shrink: 0;
}

.app-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.app-icon-box {
    width: 58px;
    height: 58px;
    background: rgba(0, 61, 130, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5722;
    margin-bottom: 1rem;
}

.tech-table-wrapper {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.tech-table {
    margin-bottom: 0;
}

.tech-table thead th {
    background: var(--brand-blue);
    color: #fff;
    border: none !important;
    padding: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-table tbody tr:nth-child(even) {
    background: #fbfbfc;
}

.tech-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    vertical-align: middle;
}

.tech-table tbody td:first-child {
    font-weight: 700;
    color: var(--brand-blue);
    width: 35%;
}

.sidebar-cta {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
}

.sidebar-cta .btn-light {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none !important;
}

/* Industrial Valve Page Specific Styles - Scoped to .industrial-page */
.industrial-page .floating-quality-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: float-badge 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.industrial-page .quality-badge-inner {
    color: white;
}

.industrial-page .quality-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.industrial-page .quality-icon svg {
    fill: white;
}

.industrial-page .quality-text {
    font-size: 14px;
    line-height: 1.2;
}

.industrial-page .quality-subtext {
    font-size: 11px;
    opacity: 0.9;
}

.industrial-page .industrial-valve-image-wrapper {
    position: relative;
}

.industrial-page .industrial-valve-image-wrapper img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.industrial-page .industrial-valve-image-wrapper:hover img {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 61, 130, 0.25) !important;
}

.industrial-page .manufacturing-feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industrial-page .manufacturing-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-orange);
}

.industrial-page .manufacturing-feature-card .feature-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 61, 130, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.industrial-page .manufacturing-feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
}

.industrial-page .manufacturing-feature-card .feature-icon-wrapper svg {
    fill: var(--brand-blue);
    transition: fill 0.3s ease;
}

.industrial-page .manufacturing-feature-card:hover .feature-icon-wrapper svg {
    fill: white;
}

.industrial-page .manufacturing-image-card {
    overflow: hidden;
    background: white;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.industrial-page .manufacturing-image-card:hover {
    transform: scale(1.02);
}

.industrial-page .manufacturing-image-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.industrial-page .manufacturing-image-card:hover img {
    transform: scale(1.05);
}

.industrial-page .industrial-feature-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.industrial-page .industrial-feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 130, 0.15);
    border-color: var(--brand-orange);
    background: white !important;
}

.industrial-page .industrial-feature-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.industrial-page .industrial-feature-box:hover .industrial-feature-icon {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
    transform: scale(1.1);
}

.industrial-page .industrial-feature-icon svg {
    fill: var(--brand-blue);
    transition: fill 0.4s ease;
}

.industrial-page .industrial-feature-box:hover .industrial-feature-icon svg {
    fill: white;
}

.industrial-page .industrial-cta-box {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #002d63 100%);
    position: relative;
    border: none;
}

.industrial-page .industrial-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, transparent 50%, rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industrial-page .industrial-cta-box:hover::before {
    opacity: 1;
}

.industrial-page .industrial-cta-box .btn-outline-light {
    border: 2px solid white;
    transition: all 0.3s ease;
}

.industrial-page .industrial-cta-box .btn-outline-light:hover {
    background: white;
    color: var(--brand-blue);
}

@media (max-width: 768px) {
    .industrial-page .floating-quality-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: -15px;
    }

    .industrial-page .quality-text {
        font-size: 11px;
    }

    .industrial-page .quality-subtext {
        font-size: 9px;
    }

    .industrial-page .quality-icon svg {
        width: 24px;
        height: 24px;
    }

    .industrial-page .industrial-feature-icon {
        width: 60px;
        height: 60px;
    }

    .industrial-page .industrial-feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .industrial-page .manufacturing-feature-card .feature-icon-wrapper {
        width: 35px;
        height: 35px;
    }

    .industrial-page .manufacturing-feature-card .feature-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .industrial-page .floating-quality-badge {
        position: static;
        margin: 20px auto 0;
    }

    .industrial-page .industrial-cta-box {
        padding: 2.5rem 1.5rem !important;
    }

    .industrial-page .industrial-cta-box h3 {
        font-size: 1.75rem !important;
    }
}

/* Additional Industrial Page Scoped Styles */
.industrial-page .text-brand-orange {
    color: var(--brand-orange) !important;
}

.industrial-page .text-brand-blue {
    color: var(--brand-blue) !important;
}

.industrial-page .divider-orange {
    width: 60px;
    height: 4px;
    background-color: var(--brand-orange);
    border-radius: 2px;
}

.industrial-page .img-wrapper img {
    transition: transform 0.5s ease;
}

.industrial-page .img-wrapper:hover img {
    transform: scale(1.05);
}

.industrial-page .bg-brand-orange-light {
    background-color: rgba(255, 107, 53, 0.1) !important;
}

.industrial-page .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.industrial-page .btn-brand-orange {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.industrial-page .btn-brand-orange:hover {
    background-color: #e65a2b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
}

/* Gate Valve Page Specific Styles - Scoped to .gate-valve-page */
.gate-valve-page .feature-item-v2 {
    transition: transform 0.3s ease;
}

.gate-valve-page .feature-item-v2:hover {
    transform: translateX(10px);
    background: rgba(255, 107, 53, 0.05) !important;
}

.gate-valve-page .bg-brand-light {
    background: rgba(0, 61, 130, 0.05);
}

.gate-valve-page .app-card-sm:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: var(--brand-orange) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

#myModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#myModal .modal-header {
    background-color: #fff;
    border-bottom: 1px solid #f1f5f9;
}

#myModal .modal-title {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 0;
}

#myModal .btn-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.dmo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 2.5rem;
    border-right: 1px solid #f1f5f9;
}

.pop-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .pop-img {
        max-width: 280px;
        /* Increased size for desktop */
    }
}

.form1 .form-group {
    margin-bottom: 1.5rem;
}

.form1 .form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form1 .form-control:focus {
    background-color: #fff;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    outline: none;
}

.form1 textarea.form-control {
    min-height: 100px;
}

#captchaImg {
    background-color: #f1f5f9 !important;
    font-weight: 700;
    text-align: center;
    letter-spacing: 8px;
    color: var(--brand-blue);
    border: 2px dashed #cbd5e1 !important;
    cursor: not-allowed;
}

.Submit-box {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    height: 48px;
    /* Fixed height for alignment */
    padding: 0 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-family: Verdana, Geneva, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Submit-box:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.moClose-modal-footer {
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    height: 48px;
    padding: 0 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moClose-modal-footer:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Enquiry Page Specific Styles */
.contact-main {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.contact-main .head h2 {
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.contact-main .head h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--brand-orange);
    border-radius: 2px;
}

.enquiry-m {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .enquiry-m {
        padding: 2rem;
        height: auto;
    }
}

@media (max-width: 1023px) {
    .dmo {
        display: none !important;
    }

    #myModal .col-lg-7 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    .contact-main {
        padding: 3rem 0;
    }

    .enquiry-m {
        height: auto;
        padding: 2rem;
    }

    .Submit-box {}
}

@media (max-width: 767px) {
    .inq-btn-home {
        position: fixed;
        width: 35px;
        left: 0;
        right: auto;
    }

    .inq-btn-home img {
        width: 35px;
        height: auto;
    }

    #myModal .modal-body {
        padding: 1.5rem;
    }

    .enquiry-m {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .contact-main .head h2 {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 575px) {
    .form1 .form-group {
        margin-bottom: 1rem;
    }

    .Submit-box {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .moClose-modal-footer {
        width: 100%;
    }
}

@media (max-width: 425px) {
    .Submit-box {
        width: 100%;
    }
}
.inq-btn-home img{
    width: 52px;
    height: 204px;
}
/* Inquiry Form & Modal Styles */
.inq-btn-home {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inq-btn-home:hover {
    transform: translateY(-50%) translateX(8px);
}
.inq-btn-home img{
    width: 52px;
    height: 204px;
}

/* Mobile view */
@media (max-width: 767px){
    .inq-btn-home img{
        width: 35px;
        height: auto;
    }
}

/* Captcha Refresh Icon Fix */
.form1 img[alt="captcha"],
.form1 .col-2 img {
    width: 45px !important;
    display: inline-block !important;
    min-width: 45px !important;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.form1 img[alt="captcha"]:hover,
.form1 .col-2 img:hover {
    transform: rotate(180deg);
}


/* 404 Page Styles */
.page_404 {
    padding: 40px 0;
    background: #fff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.four_zero_four_bg {
    background-image: url(../img/page-not-found.webp);
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.four_zero_four_bg h1 {
    font-size: 80px;
}

.four_zero_four_bg h3 {
    font-size: 80px;
}

.link_404 {
    color: #fff !important;
    padding: 10px 20px;
    background: var(--brand-orange);
    margin: 20px 0;
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link_404:hover {
    background: var(--brand-blue);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 61, 130, 0.2);
}

.contant_box_404 {
    margin-top: 30px;
}

.bg-brand-orange {
    background-color: #A32C00 !important;
}

/* Butterfly Valve and Ball Valve Page Specific Hover Effect */
.butterfly-valve-page .app-card-sm,
.ball-valve-page .app-card-sm {
    transition: all 0.3s ease-in-out;
}

.butterfly-valve-page .app-card-sm:hover,
.ball-valve-page .app-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--brand-orange) !important;
}

.get-in-touch {
    z-index: 99999 !important;
}
.get-in-touch {
    position: fixed;
    top: 50%;
    left: -7px;
    display: inline-block;
    padding: .5rem 1rem;
    word-spacing: .1rem;
    transform: rotate(-90deg) translatey(-110%);
    background-color: #FF650C;
    color: #fff;
    font-weight: 500;
    z-index: 1019;
    border-bottom-left-radius: .4rem;
    border-bottom-right-radius: .4rem;
    font-size: 15px;
text-decoration: none;
font-family: "Montserrat", sans-serif;
cursor: pointer;
}
.pdf1 img{
width: 30px;
height: 30px;
}
p a{
    text-decoration: none;
    color: #e85521;
}