:root {
    /* Professional Business Palette - Navy + Gold */
    --bs-primary: #0A1628;
    /* Deep Navy - Professional primary */
    --bs-secondary: #C8A962;
    /* Warm Gold - Premium accent */
    --bs-dark: #050A12;
    /* Near Black */
    --bs-light: #F8FAFC;
    /* Clean White */

    /* Extended Palette */
    --navy-light: #1a2d4a;
    --navy-medium: #0f1d32;
    --gold-light: #D4C08A;
    --gold-dark: #9A7B3C;

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #C8A962 0%, #D4AF37 50%, #9A7B3C 100%);
    --hero-gradient: linear-gradient(135deg, #0A1628 0%, #1a2d4a 100%);
    --overlay-gradient: linear-gradient(to right, rgba(10, 22, 40, 0.95), rgba(10, 22, 40, 0.6));

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(200, 169, 98, 0.2);
    --glass-dark: rgba(10, 22, 40, 0.95);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-medium: 0 8px 30px rgba(10, 22, 40, 0.12);
    --shadow-strong: 0 20px 60px rgba(10, 22, 40, 0.18);
    --shadow-gold: 0 4px 20px rgba(200, 169, 98, 0.25);

    /* Font Families - Modern Business */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    /* Reduced from 100px 0 */
    --container-padding: 0 20px;

    /* Responsive adjustments for large devices */
}

@media (min-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
}

/* Transitions */
--transition-fast: 0.2s ease;
--transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Apply Inter to body text globally + Logo Watermark */
body {
    font-family: var(--font-body) !important;
    position: relative;
}

/* Logo Watermark - Applies to all pages */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-image: url('../img/logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.09;
    pointer-events: none;
    z-index: -1;
}

/* ===== Video Splash Screen ===== */
.nx-video-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A1628;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.video-splash.fade-out {
    opacity: 0;
    visibility: hidden;
}

.nx-video-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nx-skip-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 100000;
}

.nx-skip-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Apply Cormorant Garamond to all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    font-weight: 600;
}

/* General text elements use Lato */
p,
span,
a,
li,
td,
th,
label,
input,
textarea,
select,
button {
    font-family: var(--font-body) !important;
}

/* Navbar links */
.nav-link,
.navbar-brand,
.dropdown-item {
    font-family: var(--font-body) !important;
    font-weight: 500;
}

/* Explicitly restore icon fonts with correct families */
.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-style: normal !important;
}

.fas,
.far,
.fa {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    /* Solid requires 900 */
    font-style: normal !important;
}

.far {
    font-weight: 400 !important;
    /* Regular requires 400 */
}

.bi,
.bi-* {
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
}

/* Force Bootstrap Overrides */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

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

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.nx-logo-image {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

/* Ensure logo visibility in dark footer */
.footer .nx-logo-image {
    /* background-color: rgba(155, 78, 78, 0.95); */
    padding: 8px;
    border-radius: 4px;
}

/********** Global Typography & Layout **********/

body {
    font-family: var(--font-body);
    background-color: var(--bs-light);
    color: var(--bs-dark);
    line-height: 1.8;
    font-size: 16px;
}

/* Removed watermark for cleaner professional look */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

.btn-primary {
    border-radius: 6px;
    padding: 12px 28px;
    background: var(--bs-primary);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-soft);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Gold/Secondary Button */
.btn-secondary {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-medium);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Outline Button */
.btn-outline-primary {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    background: transparent;
    border-radius: 6px;
    padding: 10px 26px;
    font-weight: 600;
    transition: var(--transition-medium);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateY(-2px);
}

#hero-title {
    font-size: clamp(1.8rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: clamp(2px, 1vw, 6px);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 169, 98, 0.4);
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

#hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    font-weight: 300;
    letter-spacing: clamp(0.5px, 1vw, 2px);
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
}

@media (max-width: 991.98px) {
    #hero-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
        letter-spacing: clamp(1px, 0.8vw, 3px);
    }

    #hero-subtitle {
        font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    }
}

.nx-ayur-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.nx-ayur-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 93, 75, 0.15);
    background: linear-gradient(145deg, #ffffff, #f0e6d2);
    border-color: var(--bs-secondary);
}

@keyframes ayurSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ayurFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/********** Template CSS **********/

.nx-scroll-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#nx-spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.nx-icon-primary,
.nx-icon-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.nx-icon-primary i,
.nx-icon-light i {
    font-size: 60px;
    line-height: 0;
}

.nx-icon-primary::before,
.nx-icon-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

/* .nx-icon-primary::before {
    background: var(--bs-primary);
} */

/* .nx-icon-light::before {
    background: var(--bs-light);
} */


/*** Navbar - Professional Navy Theme ***/
.sticky-top {
    top: -100px;
    transition: var(--transition-medium);
    background: var(--glass-dark) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 169, 98, 0.1);
}

.sticky-top .navbar {
    background: transparent !important;
}

.navbar.bg-white {
    background: var(--bs-primary) !important;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bs-secondary);
    transition: width var(--transition-medium);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar .dropdown-menu {
    background: var(--bs-primary) !important;
    border: 1px solid rgba(200, 169, 98, 0.2);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    padding: 10px 0;
    margin-top: 10px;
}

.navbar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 20px;
    transition: var(--transition-fast);
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: var(--bs-secondary) !important;
    background: rgba(200, 169, 98, 0.1);
    padding-left: 25px;
}

.navbar-toggler {
    border: 2px solid var(--bs-secondary) !important;
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200, 169, 98, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    outline: none;
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 75px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-medium);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}


/*** Header & Hero Section ***/
@media (min-width: 992px) {

    .nx-hero-carousel,
    .nx-page-banner {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: var(--overlay-gradient);
    z-index: 1;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.7;
    transition: var(--transition-medium);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    /* box-shadow: var(--shadow-medium); */
}

@media (max-width: 767.98px) {
    #nx-hero-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #nx-hero-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Desktop Hero Height Fix */
@media (min-width: 768px) {
    #nx-hero-carousel .carousel-item {
        position: relative;
        height: 85vh;
        /* Covers most of the screen but leaves space for content below */
        min-height: 600px;
    }

    #nx-hero-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Video Hero Section */
.nx-video-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 500px;
    overflow: hidden;
    background: #2c3e50;
}

.nx-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nx-video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.nx-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 2;
}

.nx-video-hero .container {
    position: relative;
    z-index: 3 !important;
}

/* Eye-Catching Hero Discover Button */
.nx-hero-discover-btn {
    background: linear-gradient(135deg, rgba(200, 169, 98, 0.9), rgba(212, 175, 55, 0.9)) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 16px 45px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(200, 169, 98, 0.4),
        0 0 40px rgba(200, 169, 98, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nx-hero-discover-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.nx-hero-discover-btn:hover::before {
    left: 100%;
}

.nx-hero-discover-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 1), rgba(200, 169, 98, 1)) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(200, 169, 98, 0.6),
        0 0 60px rgba(200, 169, 98, 0.5) !important;
}

.nx-hero-discover-btn:hover i {
    animation: bounce 0.6s ease infinite;
}

.nx-hero-discover-btn:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes bounce {

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

    50% {
        transform: translateY(4px);
    }
}


.nx-page-banner {
    background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.75)), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
    padding: 120px 0 80px;
}

.nx-page-banner h1 {
    font-size: 3rem;
    font-weight: 600;
}

.nx-page-banner .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-secondary);
}

.nx-page-banner .breadcrumb-item,
.nx-page-banner .breadcrumb-item a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nx-page-banner .breadcrumb-item a:hover {
    color: var(--bs-secondary);
}


/*** Features ***/
.feature {
    background: linear-gradient(rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.85)), url(../img/feature.jpg) left center no-repeat;
    background-size: cover;
}

.nx-feature-grid {
    box-shadow: var(--shadow-strong);
    border-radius: 12px;
    overflow: hidden;
}

.nx-feature-box {
    border-color: rgba(200, 169, 98, 0.1) !important;
    transition: var(--transition-medium);
}

.nx-feature-box:hover {
    background: rgba(200, 169, 98, 0.03);
}

/* Progress bars - works with both .experience and .nx-experience */
.experience .progress,
.nx-experience .progress {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.experience .progress .progress-bar,
.nx-experience .progress .progress-bar {
    width: 0px;
    transition: width 2s ease-in-out;
    background: linear-gradient(90deg, var(--bs-secondary), var(--gold-light));
    border-radius: 10px;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}


/*** About ***/
/* Premium Stats Circle - Modern Glassmorphism Design */
.nx-about-stat {
    width: 190px;
    height: 190px;
    /* Soft layered shadows for depth */
    box-shadow:
        0 8px 32px rgba(10, 22, 40, 0.12),
        0 2px 8px rgba(10, 22, 40, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    /* Smooth transitions for all properties */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Subtle backdrop blur for glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Elegant border for definition */
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

/* Gradient overlays for each stat type - Ayurveda inspired */
.nx-about-stat.bg-primary {
    background: linear-gradient(135deg,
            rgba(10, 22, 40, 0.95) 0%,
            rgba(26, 45, 74, 0.9) 100%) !important;
}

.nx-about-stat.bg-secondary {
    background: linear-gradient(135deg,
            rgba(200, 169, 98, 0.95) 0%,
            rgba(212, 192, 138, 0.9) 100%) !important;
}

.nx-about-stat.bg-dark {
    background: linear-gradient(135deg,
            rgba(5, 10, 18, 0.95) 0%,
            rgba(10, 22, 40, 0.9) 100%) !important;
}

/* Subtle glow effect on hover */
.nx-about-stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(10, 22, 40, 0.2),
        0 4px 16px rgba(10, 22, 40, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 40px rgba(200, 169, 98, 0.15);
}

/* Enhanced glow for secondary (gold) stat */
.nx-about-stat.bg-secondary:hover {
    box-shadow:
        0 16px 48px rgba(200, 169, 98, 0.3),
        0 4px 16px rgba(200, 169, 98, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 50px rgba(200, 169, 98, 0.25);
}

/* Shimmer effect overlay */
.nx-about-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.nx-about-stat:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Typography improvements */
.nx-about-stat p {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 8px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nx-about-stat h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

/* Subtle pulse for numbers */
.nx-about-stat:hover h1 {
    animation: subtle-pulse 1.5s ease-in-out;
}

@keyframes subtle-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.nx-play-button {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.nx-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.nx-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.nx-play-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service - Professional Cards ***/
.nx-services-section {
    position: relative;
    padding: 80px 0;
}

.nx-services-section::before {
    position: absolute;
    content: '';
    background: linear-gradient(135deg, var(--bs-light) 0%, #EEF2F7 100%);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.nx-service-card {
    position: relative;
    height: 100%;
    padding: 50px 35px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
    border: 1px solid rgba(200, 169, 98, 0.1);
    transition: var(--transition-medium);
}

.nx-service-card::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    left: 0;
    top: 0;
    border-radius: 12px 12px 0 0;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition-medium);
}

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

.nx-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(200, 169, 98, 0.3);
}

.nx-service-card * {
    position: relative;
    transition: var(--transition-medium);
    z-index: 1;
}

.nx-service-card h5 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.nx-service-card p {
    color: #666;
    line-height: 1.8;
}

.nx-service-card:hover h5 {
    color: var(--bs-secondary);
}

.nx-service-card:hover .nx-icon-primary::before {
    background: var(--bs-secondary);
}

.nx-service-card:hover .nx-icon-primary i {
    color: var(--bs-primary) !important;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.nx-service-card {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.nx-service-card::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.nx-service-card:hover::before {
    height: 100%;
    top: 0;
}

.nx-service-card * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.nx-service-card:hover h5,
.nx-service-card:hover p {
    color: var(--bs-white);
}

.nx-service-card:hover .nx-icon-primary::before {
    background: var(--bs-dark);
}

.nx-service-card:hover .nx-icon-primary i {
    color: var(--bs-white) !important;
}


/*** Team - Professional Cards ***/
.nx-team-section {
    position: relative;
    padding: 80px 0;
}

.nx-team-section::before {
    position: absolute;
    content: '';
    background: linear-gradient(135deg, var(--bs-light) 0%, #EEF2F7 100%);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.nx-team-card {
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid rgba(200, 169, 98, 0.1);
}

.nx-team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--bs-secondary);
}

.nx-team-card .nx-social-links {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: var(--transition-medium);
    background: rgba(10, 22, 40, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-team-card:hover .nx-social-links {
    opacity: 1;
}

.nx-team-card .nx-social-links .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.nx-team-card:hover .nx-social-links .btn {
    opacity: 1;
    transform: translateY(0);
}

.nx-team-card .text-center {
    padding: 25px !important;
}

.nx-team-card .text-center h5 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.nx-team-card .text-center span {
    color: var(--bs-secondary);
    font-weight: 500;
}


/*** Testimonial - Professional Section ***/
.testimonial {
    background: linear-gradient(rgba(10, 22, 40, 0.92), rgba(10, 22, 40, 0.88)), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
    padding: 100px 0 120px;
}

/* Reduced padding and font size for large devices */
@media (min-width: 992px) {
    .testimonial {
        padding: 50px 0 60px !important;
    }

    .nx-testimonial-box {
        padding: 25px 35px !important;
    }

    .nx-testimonial-box p {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
    }

    .testimonial h1.display-6 {
        font-size: 2.2rem !important;
    }
}

.testimonial h1 {
    font-weight: 600;
}

.nx-testimonial-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.nx-testimonial-box img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    border: 3px solid var(--bs-secondary);
}

.nx-testimonial-box p {
    color: #555;
    line-height: 1.9;
}

.nx-testimonial-slider .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.nx-testimonial-slider .owl-nav .owl-prev,
.nx-testimonial-slider .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-secondary);
    font-size: 30px;
    line-height: 0;
    transition: var(--transition-medium);
}

.nx-testimonial-slider .owl-nav .owl-prev:hover,
.nx-testimonial-slider .owl-nav .owl-next:hover {
    color: var(--bs-primary);
    transform: scale(1.1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Professional Footer Redesign ***/
.footer {
    background: linear-gradient(180deg, #0A1628 0%, #050A12 100%) !important;
    position: relative;
    border-top: 4px solid var(--bs-secondary);
    padding-top: 80px !important;
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 15%, rgba(200, 169, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(200, 169, 98, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--bs-secondary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 12px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.footer .btn.btn-link::before {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--bs-secondary);
    transition: all 0.3s ease;
}

.footer .btn.btn-link:hover {
    color: #fff;
    padding-left: 10px;
}

.footer .btn.btn-link:hover::before {
    color: #fff;
}

/* Trust Badges */
.nx-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.nx-trust-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 169, 98, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 80px;
}

.nx-trust-badge:hover {
    background: rgba(200, 169, 98, 0.1);
    border-color: var(--bs-secondary);
    transform: translateY(-5px);
}

.nx-trust-badge i {
    display: block;
    font-size: 20px;
    color: var(--bs-secondary);
    margin-bottom: 5px;
}

.nx-trust-badge span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Accepted Payments */
.nx-payments {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nx-payment-icon {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.nx-payment-icon:hover {
    color: var(--bs-secondary);
}

/* Newsletter Customization */
.nx-footer-newsletter .input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
}

.nx-footer-newsletter .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
}

.nx-footer-newsletter .btn {
    border-radius: 6px !important;
}

.nx-copyright {
    background: #03070d;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* -------------------------------------
   CREATIVE ANIMATIONS & VISUAL POLISH
------------------------------------- */

/* 1. Floating Animation (Breathing Effect) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.floating-anim {
    animation: float 4s ease-in-out infinite;
}

/* 2. Gold Pulse Effect (For Buttons) */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-primary.animated-pulse {
    animation: pulse-gold 2s infinite;
}

/* 3. Premium Card 3D Hover Effect ("Best Man") */
.nx-team-card {
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.nx-team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--bs-secondary);
    /* Gold Border */
}

/* 4. Glassmorphism Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}


/* 5. Global Network Pulsing Beacons */
.global-map-container {
    position: relative;
    height: 300px;
    /* Adjust as needed */
    background: rgba(255, 255, 255, 0.05);
    /* Subtle placeholder if no map img */
    border-radius: 10px;
    overflow: hidden;
}

.beacon {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--bs-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.beacon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bs-secondary);
    animation: beacon-pulse 2s infinite;
    opacity: 0.7;
}

@keyframes beacon-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Product Section CSS */
.nx-product-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-card.large {
    height: 520px;
}

.product-card.small {
    height: 250px;
}

.nx-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.nx-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    transition: background 0.5s;
}

.nx-product-card:hover .nx-product-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.nx-product-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.nx-product-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.nx-product-card:hover .nx-product-arrow {
    opacity: 1;
    transform: translateY(0);
}

.nx-section-heading {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.nx-section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    ;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--bs-primary);
}

/* New Product Badge Styling */
.nx-badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.nx-badge-new .badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Product Item Enhancements */
.nx-product-box {
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nx-product-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--bs-primary);
}

.nx-product-box .nx-product-image {
    border-radius: 15px 15px 0 0;
    position: relative;
}

.nx-product-box .nx-product-image img {
    transition: transform 0.5s ease;
}

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

.nx-product-box h5 {
    transition: color 0.3s ease;
}

.nx-product-box:hover h5 {
    color: var(--bs-primary) !important;
}

.nx-product-box .btn-outline-primary {
    border-radius: 25px;
    padding: 6px 16px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nx-product-box .btn-outline-primary:hover {
    transform: scale(1.05);
}


/* Interactive Map CSS */
#nx-world-map {
    position: relative;
    overflow: hidden;
}

#nx-world-map img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Subtle Grid Background for Map */
#nx-world-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Above image, below pins */
    pointer-events: none;
}

.route-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1;
    stroke-dasharray: 4, 6;
    stroke-linecap: round;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.ship-group {
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}


.map-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.pin-dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.pin-pulse {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: pinPulse 2s infinite;
    z-index: 1;
}

@keyframes pinPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.pin-tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    color: var(--bs-dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pin-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.map-pin.active .pin-tooltip,
.map-pin:hover .pin-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Sound Player Styles */
/* ===== Compact Modern Sound Player ===== */
.nx-audio-player {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 45, 74, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(200, 169, 98, 0.4);
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 1000;
    border: 1px solid rgba(200, 169, 98, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 50px;
    overflow: hidden;
}

.nx-audio-player:hover {
    width: 280px;
    padding: 10px 15px;
    gap: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(200, 169, 98, 0.15);
    transform: translateY(-2px);
}

.nx-audio-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, rgba(200, 169, 98, 1), rgba(212, 175, 138, 1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(200, 169, 98, 0.3);
}

.nx-audio-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(200, 169, 98, 0.5);
}

.nx-audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nx-audio-player:hover .nx-audio-controls {
    opacity: 1;
    transform: translateX(0);
}

.nx-track-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    min-width: 50px;
    max-width: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nx-audio-btn {
    border: none;
    background: rgba(200, 169, 98, 0.1);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nx-audio-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(200, 169, 98, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.nx-audio-btn:hover::before {
    width: 100%;
    height: 100%;
}

.nx-audio-btn:hover {
    background: rgba(200, 169, 98, 0.25);
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.nx-audio-btn:active {
    transform: scale(0.95);
}

@keyframes pulse-sound {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(200, 169, 98, 0.7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(200, 169, 98, 0);
    }
}

/* Pulse animation when playing */
.sound-icon.playing {
    animation: pulse-sound 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nx-audio-player {
        bottom: 80px;
        right: 20px;
    }

    .nx-audio-player:hover {
        width: 240px;
    }
}

.nx-product-box:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    transform: translateY(-5px);
}

.nx-product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Fixed height for consistency */
}

.nx-product-image img {
    transition: .5s;
    object-fit: cover;
    height: 100%;
}

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

.nx-product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: .5s;
}

.nx-product-box:hover .nx-product-overlay {
    opacity: 1;
}

/* Portfolio Filter Buttons - Modern Premium Design */
#portfolio-flters {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

#portfolio-flters li,
#portfolio-flters .btn-outline-primary,
#portfolio-flters .btn-outline-secondary {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50 !important;
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
    border: 2px solid transparent !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    padding: 12px 28px;
    margin: 5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

/* Gradient border effect */
#portfolio-flters li::before,
#portfolio-flters .btn-outline-primary::before,
#portfolio-flters .btn-outline-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#portfolio-flters li:hover::before,
#portfolio-flters .btn-outline-primary:hover::before,
#portfolio-flters .btn-outline-secondary:hover::before {
    opacity: 1;
}

/* Hover and Active States */
#portfolio-flters li:hover,
#portfolio-flters .btn-outline-primary:hover,
#portfolio-flters .btn-outline-secondary:hover {
    color: var(--primary) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#portfolio-flters li.active,
#portfolio-flters .btn-outline-primary.active,
#portfolio-flters .btn-outline-secondary.active,
#portfolio-flters li.active.btn,
#portfolio-flters .btn.active {
    background: linear-gradient(135deg, var(--primary), #1a5490) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1) !important;
}

/* Active state glow effect */
#portfolio-flters li.active::after,
#portfolio-flters .btn-outline-primary.active::after,
#portfolio-flters .btn-outline-secondary.active::after,
#portfolio-flters li.active.btn::after,
#portfolio-flters .btn.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.15;
    z-index: -1;
    filter: blur(8px);
}

/* Ensure active text is always white - additional specificity */
#portfolio-flters li.active,
#portfolio-flters li.active:hover,
#portfolio-flters li.active:focus,
#portfolio-flters .btn.active,
#portfolio-flters .btn.active:hover,
#portfolio-flters .btn.active:focus {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary), #1a5490) !important;
}

/* Ripple effect on click */
#portfolio-flters li:active,
#portfolio-flters .btn-outline-primary:active,
#portfolio-flters .btn-outline-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #portfolio-flters {
        padding: 15px;
        border-radius: 30px;
    }

    #portfolio-flters li,
    #portfolio-flters .btn-outline-primary,
    #portfolio-flters .btn-outline-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 3px !important;
    }
}

.map-pin.active .pin-dot {
    background-color: var(--bs-secondary);
    box-shadow: 0 0 15px var(--bs-secondary);
}

/* Floating Action Buttons */
.nx-float-actions {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Quote Section Styles */
.nx-quote-area {
    background-color: var(--bs-light);
}

.nx-about-gallery {
    position: relative;
    margin: 30px 30px 30px 0;
    min-height: 400px;
}

.nx-about-gallery img {
    position: absolute;
    width: 60%;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Creative Benefits Section - Full Image Overlay Design */
.nx-benefit-box {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    background: #000;
    /* Fallback */
    margin-top: 0;
    /* Reset previous negative margin if any */
}

/* Image acts as full background */
.nx-benefit-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    /* Override HTML mb-4 */
    padding: 0;
    border: none;
    border-radius: 0;
    z-index: 0;
    background: transparent;
    box-shadow: none;
}

.nx-benefit-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.8);
}

/* Hover: Blur and Darken Image */
.nx-benefit-box:hover .nx-benefit-pic {
    transform: scale(1.1);
    filter: blur(4px) brightness(0.4);
}

/* Content Styling */
.nx-benefit-box h5 {
    position: relative;
    z-index: 2;
    color: #fff !important;
    font-family: 'Red Rose', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
    transform: translateY(40px);
    /* Push down initially */
}

.nx-benefit-box p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    padding: 0 20px 30px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease 0.1s;
    /* Slight delay */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hover: Reveal Content */
.nx-benefit-box:hover h5 {
    transform: translateY(0);
}

.nx-benefit-box:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Gold Line at Bottom */
.nx-benefit-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--bs-secondary);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.nx-benefit-box:hover::after {
    transform: scaleX(1);
}

/* Hide the pseudo-element from previous design */
.nx-benefit-box::before {
    display: none;
}


.nx-about-gallery img:first-child {
    top: 0;
    left: 0;
    z-index: 1;
}

.nx-about-gallery img:last-child {
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid #fff;
}

.nx-about-gallery:hover img:first-child {
    transform: translateY(-20px);
}

.nx-about-gallery:hover img:last-child {
    transform: translateY(20px);
}

.modal-content {
    border-radius: 20px;
    overflow: hidden;
}

.modal-header {
    background: var(--bs-primary);
    color: #fff;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.nx-float-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nx-float-button:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.nx-call-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.nx-whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.nx-float-button i {
    z-index: 2;
}

.nx-float-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s;
}

.nx-float-button:hover::after {
    transform: scale(1.5);
}

/* Pulse Animation */
@keyframes floatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.nx-float-button {
    animation: floatPulse 2s infinite;
}

/* Zig-Zag Service Layout Styles */
.service-feature {
    transition: transform 0.3s ease;
}

.service-feature:hover .rounded {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    /* Deep shadow on hover */
}

.service-feature h2 {
    position: relative;
    display: inline-block;
}

.service-feature h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--bs-secondary);
    bottom: -10px;
    left: 0;
    transition: width 0.3s ease;
}

.service-feature:hover h2::after {
    width: 100%;
}

/* Enhanced Global Map */
.global-map-container {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    /* Inner shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.beacon {
    box-shadow: 0 0 10px var(--bs-secondary);
}


/* ===============================
   Our Certifications Section
================================ */

.certifications-section {
    background: linear-gradient(135deg, var(--bs-light) 0%, #EEF2F7 100%);
    padding: 80px 0;
}

.certifications-title {
    color: var(--bs-primary);
    font-weight: 700;
}

.certifications-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
    font-size: 16px;
}

.certification-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    height: 100%;
    position: relative;
    border: 1px solid rgba(200, 169, 98, 0.1);
}

.certification-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid transparent;
    background: var(--accent-gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

.certification-card:hover::before {
    opacity: 1;
}

.certification-card:hover {
    transform: translateY(-12px);
}

.certification-card img {
    max-width: 90px;
    margin-bottom: 20px;
}

.certification-card h5 {
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}

.certification-card span {
    font-size: 14px;
    color: #666;
}

/* Responsive tweak */
@media (max-width: 767px) {
    .certification-card {
        padding: 30px 20px;
    }
}

/* Clickable Certificate Styles */
.clickable-cert {
    cursor: pointer;
    overflow: hidden;
}

.clickable-cert:hover {
    transform: translateY(-12px) scale(1.02);
}

.cert-view-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), #1a5490);
    color: #ffffff;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clickable-cert:hover .cert-view-badge {
    transform: translateY(0);
}

.cert-view-badge i {
    font-size: 16px;
}

/* Certificate Modal Styling */
#certificateModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#certificateModal .modal-header {
    background: linear-gradient(135deg, var(--primary), #1a5490);
    color: #ffffff;
    border-radius: 15px 15px 0 0;
}

#certificateModal .modal-header .btn-close {
    filter: invert(1) brightness(2);
}

#certificateModal .modal-body {
    background: #f8f9fa;
}

#certificateModal #certificateImage {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#certificateModal #certificateImage:hover {
    transform: scale(1.02);
}

/********** Minimal Founder Section Styles **********/

/* Founder Section - Clean Background */
.founder-section-minimal {
    background: #fff;
}

/* Founder Image - Simple & Clean */
.founder-img-minimal {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.founder-img-minimal img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.founder-img-minimal:hover img {
    filter: grayscale(0%);
}

.founder-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.founder-tag span {
    background: var(--bs-primary);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Founder Info - Typography Focused */
.founder-info-minimal {
    padding-left: 20px;
}

.founder-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bs-secondary);
    margin-bottom: 15px;
}

.founder-name-minimal {
    font-size: 3rem;
    font-weight: 300;
    color: var(--bs-primary);
    line-height: 1.1;
    margin-bottom: 25px;
}

.founder-quote-minimal {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    line-height: 1.8;
    border-left: 2px solid var(--bs-secondary);
    padding-left: 25px;
    margin: 0 0 30px 0;
}

.founder-story-minimal p {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.founder-story-minimal strong {
    color: var(--bs-primary);
    font-weight: 600;
}

/* Minimal Stats Row */
.founder-stats-minimal {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item-minimal {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--bs-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #ddd;
}

/********** Minimal Journey Section **********/

.journey-section-minimal {
    background: var(--bs-primary);
}

.section-header-minimal h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.section-header-minimal p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Horizontal Journey Steps */
.journey-steps-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.journey-step {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.journey-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--bs-secondary);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--bs-secondary);
    margin-bottom: 15px;
    line-height: 1;
}

.journey-step h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.journey-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/********** Minimal Vision & Mission **********/

.vm-section-minimal {
    background: #fafafa;
}

.vm-card-minimal {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    height: 100%;
    transition: border-color 0.3s ease;
}

.vm-card-minimal:hover {
    border-color: var(--bs-secondary);
}

.vm-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bs-secondary);
    margin-bottom: 15px;
}

.vm-card-minimal p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.vm-card-minimal strong {
    color: var(--bs-primary);
}

/* Core Values Tags */
.core-values-minimal {
    margin-top: 40px;
}

.value-tag {
    display: inline-block;
    padding: 12px 25px;
    margin: 5px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.value-tag:hover {
    border-color: var(--bs-secondary);
    color: var(--bs-secondary);
}

/********** Responsive - Minimal **********/

@media (max-width: 991px) {
    .founder-info-minimal {
        padding-left: 0;
        margin-top: 30px;
    }

    .founder-name-minimal {
        font-size: 2.5rem;
    }

    .journey-steps-minimal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .founder-img-minimal img {
        height: 350px;
    }

    .founder-name-minimal {
        font-size: 2rem;
    }

    .founder-quote-minimal {
        font-size: 1rem;
    }

    .founder-stats-minimal {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .journey-steps-minimal {
        grid-template-columns: 1fr;
    }

    .journey-step {
        padding: 25px 20px;
    }

    .vm-card-minimal {
        padding: 30px;
    }
}

/* ===== WORLD MAP SECTION STYLES ===== */

/* Map Container Styling */
#nx-world-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #1a2d4a 0%, #0A1628 100%);
}

#nx-world-map img {
    opacity: 0.85;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

#nx-world-map:hover img {
    opacity: 1;
    filter: brightness(1) contrast(1.2);
}

/* SVG Overlay */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Route Lines - Animated Dotted Paths */
.route-line {
    fill: none;
    stroke: var(--bs-secondary);
    stroke-width: 0.3;
    stroke-dasharray: 2, 3;
    opacity: 0.7;
    filter: drop-shadow(0 0 3px rgba(200, 169, 98, 0.6));
    animation: routePulse 3s ease-in-out infinite;
}

@keyframes routePulse {

    0%,
    100% {
        opacity: 0.5;
        stroke-width: 0.25;
    }

    50% {
        opacity: 0.9;
        stroke-width: 0.35;
    }
}

/* Ship Groups - Enhanced Visibility with Realistic Effects */
.ship-group {
    filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 12px currentColor);
    animation: shipGlow 2.5s ease-in-out infinite, shipFloat 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes shipGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 4px currentColor) drop-shadow(0 0 8px currentColor);
        opacity: 0.95;
    }

    50% {
        filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 16px currentColor) drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
        opacity: 1;
    }
}

@keyframes shipFloat {

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

    50% {
        transform: translateY(-0.3px) scale(1.05);
    }
}

/* Map Pins */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-pin:hover {
    z-index: 10;
}

/* Pin Pulse Animation */
.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bs-secondary) 0%, transparent 70%);
    animation: pinPulse 2s ease-out infinite;
    opacity: 0.6;
}

@keyframes pinPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Pin Dot */
.pin-dot {
    position: relative;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--gold-dark) 100%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(200, 169, 98, 0.5),
        0 0 0 4px rgba(200, 169, 98, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.map-pin:hover .pin-dot {
    transform: scale(1.3);
    box-shadow: 0 6px 20px rgba(200, 169, 98, 0.8),
        0 0 0 6px rgba(200, 169, 98, 0.3),
        0 0 30px rgba(200, 169, 98, 0.5);
}

/* Pin Tooltip */
.pin-tooltip {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(200, 169, 98, 0.3);
}

.pin-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(10, 22, 40, 0.95);
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pin-tooltip .flag {
    font-size: 18px;
    margin-right: 6px;
}

/* Enhanced Tooltip Styling for Shipping Info */
.tooltip-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(200, 169, 98, 0.3);
}

.tooltip-header strong {
    font-size: 15px;
    color: #fff;
}

.tooltip-badge {
    display: inline-block;
    background: rgba(200, 169, 98, 0.2);
    color: var(--bs-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tooltip-info {
    margin-top: 8px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.info-row i {
    color: var(--bs-secondary);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.info-row span {
    font-weight: 500;
}

/* Global Presence Section Header Enhancement */
.container-fluid.bg-dark {
    background: linear-gradient(135deg, #0A1628 0%, #1a2d4a 50%, #0A1628 100%) !important;
    position: relative;
    overflow: hidden;
}

.container-fluid.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(200, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(200, 169, 98, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Active Country Display */
#nx-active-country {
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(200, 169, 98, 0.3);
    transition: all 0.3s ease;
}

#active-flag {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pin-tooltip {
        font-size: 12px;
        padding: 6px 12px;
        top: -40px;
    }

    .pin-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .ship-group use {
        width: 2 !important;
        height: 2 !important;
    }

    .route-line {
        stroke-width: 0.2;
    }
}

/* ========================================
   FOOTER LAYOUT FIX - Bug Fix for products.html
   ======================================== */

/* AGGRESSIVE FIX: Force footer to full viewport width */

/* Target ALL footer elements - use highest specificity */
.footer,
.container-fluid.footer,
div.footer,
.nx-copyright,
.container-fluid.nx-copyright,
div.nx-copyright {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Alternative method using transform */
.footer.container-fluid {
    transform: translateX(calc(-50vw + 50%)) !important;
    width: 100vw !important;
}

/* Ensure inner container maintains proper padding */
.footer .container,
.nx-copyright .container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Remove body/html constraints */
html {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Fix any parent container constraints */
body>* {
    max-width: 100vw !important;
}

/* Specific fix for products page if it has wrapper */
.container-fluid.py-5:not(.footer):not(.nx-copyright) {
    width: 100% !important;
    max-width: 100% !important;
}
