.active-nav a{
     color: #fff;
     background-color: #003d7a;
     display: inline-block;
     border-radius: 8px;
}

.text-navy { color: #0a192f; }

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin-top: 10px;
}

.service-card {
    transition: all 0.4s ease;
    border-radius: 15px;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--deep-navy);
    color: white !important;
}

.service-card:hover .text-muted {
    color: #cbd5e0 !important;
}

.category-box img {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.category-box img:hover {
    transform: scale(1.05);
}
.tracking-widest {
    letter-spacing: 4px;
}

.bg-primary {
    background-color: #0056b3 !important; /* Professional Blue */
}

.btn-dark {
    background-color: #0a192f;
    border: none;
    transition: 0.3s ease-in-out;
}

.btn-dark:hover {
    background-color: #c5a059; /* Accent Gold on hover */
    color: #0a192f;
}

/* Ensure the hero doesn't look "scanty" */
.hero-section {
    padding: 100px 0;
}


/* Hero Carousel Styling */
#heroCarousel .carousel-item {
    height: 90vh; /* Responsive height */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s ease-in-out, opacity 1s ease-in-out; /* Smooth transition */
}

/* Customizing the Indicators */
.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 5px;
    border-radius: 2px;
    background-color: var(--accent-gold);
}

.carousel-caption h1, .carousel-caption h2 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    font-family: 'Playfair Display', serif; /* Elegant title font */
}

/* Media Query for Mobile Hero */
@media (max-width: 768px) {
    #heroCarousel .carousel-item {
        height: 70vh;
    }
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

/* Make Indicators Visible & Interactive */
.carousel-indicators [data-bs-target] {
    width: 60px; /* Wider for easier clicking */
    height: 6px;
    background-color: #fff;
    border-radius: 10px;
    border: none;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--accent-gold) !important; /* Gold to match enterprise feel */
    width: 80px;
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 0.8;
    background-color: var(--primary-blue);
}

/* Ensure smooth grabbing cursor to signal dragging is possible */
.carousel-inner {
    cursor: grab;
}
.carousel-inner:active {
    cursor: grabbing;
}
.bg-navy {
    background-color: #0a192f;
}

.text-accent {
    color: #c5a059; /* Gold accent */
}

.tracking-wider {
    letter-spacing: 3px;
}

.stat-box {
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.btn-dark {
    background-color: #0a192f;
    border: none;
    transition: 0.3s;
}

.btn-dark:hover {
    background-color: #c5a059;
    color: #0a192f;
}
.bg-accent {
    background-color: #c5a059 !important;
}

.service-item-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px !important;
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.service-item-card:hover .service-image {
    transform: scale(1.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 86, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.underline {
    width: 80px;
    height: 4px;
    border-radius: 2px;
    margin-top: 15px;
}

.category-card {
    position: relative;
    display: block;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: white !important;
}

.category-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 10%, rgba(10, 25, 47, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: background 0.4s ease;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.category-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.btn-shop {
    display: inline-block;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-gold);
    transition: padding 0.3s;
}

/* Hover Effects */
.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 86, 179, 0.8) 10%, rgba(10, 25, 47, 0.3) 100%);
}

.category-card:hover .btn-shop {
    padding-right: 10px;
}

/* Mobile adjustments for 2-column grid */
@media (max-width: 576px) {
    .category-card {
        height: 220px; /* Shorter height for smaller screens */
    }
    .category-content h3 {
        font-size: 1.1rem; /* Smaller titles so they don't wrap awkwardly */
    }
    .category-overlay {
        padding: 15px; /* Less padding to save space */
    }
    .btn-shop {
        font-size: 0.7rem;
    }
}

/* Hide descriptions on mobile to keep it clean */
.d-none.d-md-block {
    display: none !important;
}
@media (min-width: 768px) {
    .d-none.d-md-block {
        display: block !important;
    }
}
.bg-navy {
    background-color: #0a192f !important;
}

.search-form {
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.search-form .form-control:focus {
    box-shadow: none;
    background-color: #fff;
}

.bg-outline-light {
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    transition: 0.3s;
}

.bg-outline-light:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Decorative background dots */
.bg-pattern-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

@media (max-width: 768px) {
    .search-form {
        border-radius: 15px;
    }
    .search-form .input-group {
        flex-direction: column;
    }
    .search-form .btn {
        width: 100%;
        border-radius: 0 0 15px 15px !important;
        padding: 15px;
    }
    .search-form .input-group-text {
        display: none;
    }
}
.italic {
    font-style: italic;
}

#testimonialCarousel .carousel-item {
    padding: 20px 0;
}

.bg-primary {
    background: linear-gradient(135deg, #0056b3 0%, #003d7a 100%) !important;
}

.btn-light {
    background: #fff;
    color: #0056b3;
    border: none;
    transition: 0.3s;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: var(--accent-gold);
    color: #0a192f;
}
.internal-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "|";
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
    color: var(--accent-gold) !important;
    padding-left: 5px;
    transition: 0.3s;
}

/* About Page Specifics */
.internal-hero {
    height: 45vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.text-navy {
    color: #0a192f;
}

.transition-hover {
    transition: transform 0.3s ease, background 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15) !important;
}

.breadcrumb-item a {
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #fff !important;
}

/* Tracking wider for h6 */
.tracking-wider {
    letter-spacing: 2px;
}

.scale-hover {
    transition: transform 0.5s ease;
}

.scale-hover:hover {
    transform: scale(1.03);
}

.btn-navy {
    background-color: #0a192f;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-navy:hover {
    background-color: var(--primary-blue);
    color: white;
}

.category-sidebar li a {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
}

.category-sidebar li a:hover {
    background: rgba(0, 86, 179, 0.05);
    color: var(--primary-blue) !important;
}

.category-hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.1) !important;
}

.badge.bg-primary {
    background-color: #0056b3 !important;
}

.bg-navy {
    background-color: #0a192f;
}

/* Product Banners */
.product-card {
    transition: transform 0.3s ease;
    border-radius: 12px !important;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-banner {
    position: absolute;
    top: 10px;
    left: -35px;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(-45deg);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.bg-info-subtle { background-color: rgba(13, 202, 240, 0.1) !important; }
.bg-success-subtle { background-color: rgba(25, 135, 84, 0.1) !important; }

/* Sticky sidebar adjustment */
@media (min-width: 992px) {
    .sticky-top {
        z-index: 100;
    }
}
.cursor-pointer { cursor: pointer; }

.thumbnail-img {
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.thumbnail-img:hover {
    opacity: 0.8;
    border-color: var(--primary-blue) !important;
}

#mainProductImg {
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-img-wrapper:hover #mainProductImg {
    transform: scale(1.05);
}

.specs-box {
    border: 1px solid rgba(0,0,0,0.05);
}

.table-sm td {
    padding: 8px 0;
}
/* Related items adjustments */
.product-card .stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.z-index-2 {
    z-index: 2;
}

/* Make related cards look slightly more refined */
.bg-light .product-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.bg-light .product-card:hover {
    border-color: var(--primary-blue) !important;
    background-color: #fff;
}

.goog-te-gadget img, .goog-te-gadget span{
    display: none !important;
}

.goog-logo-link {
    display:none !important;
}
.goog-te-gadget {
    font-size: 0px !important;
}

.mobile-view{
    display: none;
}

@media only screen and (max-width: 768px) {
    .mobile-view{
    display: block;
    }

    .desktop-view{
        display: none;
    }
}

@media (max-width: 991px) {
    #specs {
        position: static !important; /* Disables sticky on mobile/tablet */
        margin-bottom: 3rem !important; /* Forces the gap */
    }
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a192f; /* Dark Navy */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Ensure it is above everything */
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader-container {
    text-align: center;
    position: relative;
}

.loader-icon {
    font-size: 3rem;
    animation: pulse 2s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

.loader-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.2); /* Primary color with transparency */
    border-radius: 50%;
    animation: ripple 2s infinite;
    z-index: 1;
}

.loader-text {
    letter-spacing: 5px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 150px; height: 150px; opacity: 0; }
}

/* Class to hide preloader */
.loader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}