﻿:root {
    --header-height: 56px;
    --bs-primary: #007bff;
    --color-light: #f4f6f8;
    --color-white: #fff;
    --color-dark: #333;
    --color-black: #000;
    --badge-color-new: #F00;
    --badge-color-best-seller: #ff9f43;
    --badge-color-deal: var(--bs-primary);
    --border-color-default: #ddd;
    --xiphias-brand-color: #e2b923;
    --xiphias-text-color: #1d1d1f;
}


body {
    background-color: #fff;
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    font-style: normal;
    color: #777;
    -ms-content-zooming: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}
/* Global reset for all focus states */
*, *:before, *:after {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

a, button, input, textarea, select {
    outline: none !important;
    box-shadow: none !important;
}

a:focus, a:active, a:visited,
button:focus, button:active,
input:focus, input:active,
textarea:focus, textarea:active {
    outline: none !important;
    box-shadow: none !important;
    border: none;
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #1d1d1f
}

::-webkit-scrollbar-thumb {
    background: #888
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555
    }

html {
    -webkit-text-size-adjust: 100%;
}

.body-no-scroll {
    overflow: hidden !important;
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #1d1d1f
}

::-webkit-scrollbar-thumb {
    background: #888
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555
    }

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    color: #083d59;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 0;
    font-style: normal;
    font-weight: 700;
    text-transform: normal;
    letter-spacing: -.3px
}

    h1 a,
    h2 a,
    h3 a,
    h4 a,
    h5 a,
    h6 a {
        color: inherit;
        text-decoration: none
    }

h1 {
    font-size: 40px
}

h2 {
    font-size: 35px
}

h3 {
    font-size: 28px
}

h4 {
    font-size: 22px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 16px
}

.list-none {
    margin: 0;
    padding: 0
}

li {
    list-style: none
}

p {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    font-family: 'Raleway', 'Open Sans', sans-serif;
    color: #1d1d1f;
    margin-bottom: 0;
    text-align: justify
}

label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 400
}

::-moz-selection {
    background: #000;
    color: #fff;
    text-shadow: none;
    background: #000;
    color: #fff;
    text-shadow: none
}

::selection {
    background: #000;
    color: #fff;
    text-shadow: none
}

::-moz-placeholder {
    color: #000;
    font-size: 14px;
    opacity: 1
}

::placeholder {
    color: #000;
    font-size: 14px;
    opacity: 1
}

.pos-rel {
    position: relative
}

.pos-abl {
    position: absolute
}

.pb-5 {
    padding-bottom: 5px !important
}

.fix {
    overflow: hidden
}

.clear {
    clear: both
}

.overlay-bg {
    position: relative;
    z-index: 2
}

    .overlay-bg::before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%
    }
/* ===========================
   HEADER & NAVBAR STYLES - UPDATED
   =========================== */

header {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand img {
    max-width: 150px;
    height: auto;
}

.navbar-glass {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.09);
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

    .navbar-glass.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

/* Center navbar menu and make uppercase */
.navbar-collapse {
    justify-content: center;
}

.navbar-nav {
    margin: 0 auto;
    align-items: center;
}

.nav-link {
    text-transform: uppercase !important;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 0.75rem 1.25rem !important;
    font-size: 14px;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: rgb(226, 185, 35);
    }

/* Desktop layout - center menu with button on right */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-nav {
        flex: 0 1 auto;
        margin: 0;
    }

    /* Keep button on right */
    .navbar-collapse .btn {
        margin-left: auto;
    }
}

/* Mobile styles */
@media (max-width: 991px) {
    .nav-link {
        padding: 0.5rem 1rem !important;
        text-align: center;
    }
}

/* Header marquee */
.header-marquee {
    flex: 1;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile responsive */
@media (max-width: 991px) {
    .header-marquee {
        display: none !important;
    }
}

/* Dropdown menu styling */
.dropdown-menu {
    border-radius: 20px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    border: 0;
    z-index: 5;
    display: block;
    right: 0;
    left: -35px;
    top: 100%;
    opacity: 0;
    min-width: 320px;
    transform-origin: 0 0;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    padding: 9px 35px;
    display: block;
    transition: all .3s ease-in-out;
    background-color: transparent !important; /* Remove background */
}

    .dropdown-item:hover {
        transform: translatex(5px);
        color: #e2b923;
        padding-left: 2rem;
        background-color: transparent !important; /* Remove hover background */
    }

    .dropdown-item:focus,
    .dropdown-item:active {
        background-color: transparent !important; /* Remove focus/active background */
    }

    .dropdown-item a {
        background: none !important;
    }

.menu-glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #e2b923;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 185, 35, 0.55);
    box-shadow: 0 4px 12px rgba(226, 185, 35, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

    .menu-glass-btn:hover {
        background: rgba(226, 185, 35, 0.12);
        color: #b89712;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(226, 185, 35, 0.45);
    }

.hero-carousel {
    height: calc(90vh - var(--header-height));
    min-height: 550px;
    overflow: hidden;
    /*    z-index: -999;*/
}

    .hero-carousel .carousel-item {
        height: 100%;
        background-color: var(--color-black);
        position: relative;
    }

    .hero-carousel img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
        opacity: 0.8;
    }

.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    bottom: 40%;
    max-width: 800px;
    margin: 0 auto;
}

.LCP-target-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}

.LCP-target {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.contact-side-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    display: none;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

    .contact-side-panel.active {
        display: flex;
        opacity: 1;
    }

.panel-content {
    height: 100%;
    background: var(--color-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    max-width: 450px;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.contact-side-panel.active .panel-content {
    transform: translateX(0);
}

.panel-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    background: var(--xiphias-brand-color);
    color: var(--xiphias-text-color);
}

.panel-body {
    padding: 1.5rem;
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
}

.GlobalHandlerIframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    border: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 9999;
    display: none;
    flex-direction: row;
    overflow: hidden;
}

    .mobile-overlay.active {
        display: flex;
    }

.menu-panel {
    display: none;
    flex-direction: column;
    min-width: 100%;
    height: 100%;
    animation: slideIn 0.3s ease forwards;
    overflow-y: auto;
}

    .menu-panel.active {
        display: flex;
    }

.submenu-grid .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .submenu-grid .icon img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--color-white);
    color: var(--color-black);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

    .mobile-menu-header button {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

.menu-list button,
.submenu-list button,
.submenu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.2rem 1rem;
    border: none;
    background: var(--color-white);
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-dark);
    text-decoration: none;
    cursor: pointer;
}

    .menu-list button:active {
        background-color: #f9f9f9;
    }

.mobile-search-box {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

    .mobile-search-box input {
        width: 100%;
        padding: 0.6rem 1rem;
        border-radius: 20px;
        border: 1px solid #ddd;
        outline: none;
    }

.submenu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-white);
}

    .submenu-grid .grid-card {
        flex: 1 1 calc(50% - 0.375rem);
        background: #f8f9fa;
        border-radius: 12px;
        padding: 1.5rem 0.5rem;
        text-align: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        text-decoration: none;
        color: var(--color-black);
        border: 1px solid var(--border-color-default);
        transition: all 0.2s ease, border-color 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

        .submenu-grid .grid-card:hover {
            border-color: var(--bs-primary);
            color: var(--bs-primary);
        }

    .submenu-grid .icon {
        font-size: 1.5rem;
        color: inherit;
    }

    .submenu-grid .label {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.2;
        margin-top: 0.5rem;
    }

.appointment-btn {
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(90deg, #000, #333);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

    .appointment-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        animation: lightning 2s infinite;
    }

@keyframes lightning {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* --- Mobile / Tablet Styles (<= 768px) --- */
@media (max-width: 768px) {
    .carousel-indicators {
        display: none !important;
    }

    .hero-carousel {
        height: calc(60vh - var(--header-height));
        min-height: 250px !important;
    }

        .hero-carousel .carousel-item {
            height: 100%;
            min-height: 250px;
        }

    .carousel-control-prev,
    .carousel-control-next {
        top: 20% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }

    .carousel-caption {
        padding: 1rem;
        bottom: 30%;
        width: 90%;
        left: 5%;
        right: 5%;
        margin: 0;
    }

        .carousel-caption h2 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .carousel-caption p {
            font-size: 0.9rem;
            margin-bottom: 0;
        }

    .contact-side-panel .panel-content {
        max-width: 100%;
    }

    /* Reduce space between mobile banner and about section */
    .about-xip-area {
        margin-top: 0;
        padding-top: 10px; /* reduced from 30px */
        padding-bottom: 30px; /* slightly reduced */
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .about-xip-area {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 30px;
    }
}
/* --- Desktop / Mega-Menu Styles (>= 992px) --- */
@media all and (min-width: 992px) {
    .mobile-trigger {
        display: none !important;
    }

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: auto;
        width: 80%;
        margin-left: 15px;
        margin-top: 0;
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        background: #fff;
        backdrop-filter: blur(10px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
        padding-bottom: 2rem;
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .megamenu-container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .navbar .nav-item.dropdown:hover .dropdown-menu,
    .navbar .nav-item.has-megamenu:hover .megamenu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        z-index: 1000;
    }

        .navbar .nav-item.has-megamenu:hover .megamenu::before {
            content: '';
            position: absolute;
            top: -10px;
            left: var(--arrow-left, 50%);
            transform: translateX(-50%);
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid rgba(255, 255, 255, 0.95);
            z-index: 1001;
        }

    .discover-list {
        border-left: 1px solid #eee;
        padding-left: 3rem;
    }

        .discover-list a {
            display: block;
            padding: 0.3rem 0;
            color: var(--color-dark);
            text-decoration: none;
            transition: color 0.2s ease, padding-left 0.2s ease;
        }

            .discover-list a:hover {
                color: var(--bs-primary);
                padding-left: 0.5rem;
            }

    .navbar .dropdown-menu:not(.megamenu) {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .megamenu-container .row-cols-4 {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .menu-product-item {
        height: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--color-black);
        padding: 0.5rem;
        border-radius: 8px;
        border: 1px solid var(--border-color-default);
        transition: all 0.2s ease, border-color 0.3s ease;
    }

        .menu-product-item:hover {
            background: #f5f5f7;
            transform: translateY(-2px);
        }

            .menu-product-item:hover .product-badge {
                transform: translateY(2px) !important;
            }

        .menu-product-item img {
            width: 80px;
            height: 80px;
            display: block;
            margin: 0 auto 8px;
            filter: grayscale(100%);
            transition: filter 0.3s ease;
            object-fit: contain;
        }

        .menu-product-item:hover img {
            filter: grayscale(0%);
        }

    .megamenu-container .row {
        margin-left: 0;
        margin-right: 0;
    }
}
/* ===========================
   DISCOVER SECTION - LIQUID GLASS CARDS
   =========================== */

.discover-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 2rem !important;
    border-left: 1px solid #eee;
}

.discover-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1d1d1f;
    margin-bottom: 1rem !important;
}

/* Liquid Glass Card Base */
.discover-glass-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Liquid animation effect */
    .discover-glass-card::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: 0;
    }

    .discover-glass-card:hover::before {
        width: 300px;
        height: 300px;
    }

    .discover-glass-card:hover {
        transform: translateX(5px) translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

/* Purple Glass Card */
.discover-card-purple {
    background: rgba(192, 132, 252, 0.15);
    border-color: rgba(192, 132, 252, 0.3);
}

    .discover-card-purple::before {
        background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    }

    .discover-card-purple:hover {
        background: rgba(192, 132, 252, 0.25);
        border-color: rgba(192, 132, 252, 0.5);
    }

/* Blue Glass Card */
.discover-card-blue {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

    .discover-card-blue::before {
        background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    }

    .discover-card-blue:hover {
        background: rgba(99, 102, 241, 0.25);
        border-color: rgba(99, 102, 241, 0.5);
    }

/* Green Glass Card */
.discover-card-green {
    background: rgba(163, 230, 53, 0.15);
    border-color: rgba(163, 230, 53, 0.3);
}

    .discover-card-green::before {
        background: radial-gradient(circle, rgba(163, 230, 53, 0.3) 0%, transparent 70%);
    }

    .discover-card-green:hover {
        background: rgba(163, 230, 53, 0.25);
        border-color: rgba(163, 230, 53, 0.5);
    }

/* Orange Glass Card */
.discover-card-orange {
    background: rgba(255, 159, 67, 0.15);
    border-color: rgba(255, 159, 67, 0.3);
}

    .discover-card-orange::before {
        background: radial-gradient(circle, rgba(255, 159, 67, 0.3) 0%, transparent 70%);
    }

    .discover-card-orange:hover {
        background: rgba(255, 159, 67, 0.25);
        border-color: rgba(255, 159, 67, 0.5);
    }

/* Gold Glass Card - Lighter & Refined */
.discover-card-gold {
    background: rgba(255, 215, 0, 0.08);
    border: 1.5px solid rgba(218, 165, 32, 0.25);
}

    .discover-card-gold::before {
        background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(218, 165, 32, 0.15) 40%, transparent 70%);
    }

    .discover-card-gold:hover {
        background: rgba(255, 215, 0, 0.14);
        border-color: rgba(218, 165, 32, 0.4);
        box-shadow: 0 8px 25px rgba(218, 165, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    .discover-card-gold .discover-card-icon {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 236, 179, 0.35) 100%);
        border: 1px solid rgba(218, 165, 32, 0.3);
        box-shadow: 0 2px 8px rgba(218, 165, 32, 0.15);
    }

        .discover-card-gold .discover-card-icon i {
            color: #d4a027;
        }

    .discover-card-gold:hover .discover-card-icon {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.35) 0%, rgba(255, 236, 179, 0.45) 100%);
        border-color: rgba(218, 165, 32, 0.45);
        box-shadow: 0 4px 12px rgba(218, 165, 32, 0.25);
        transform: scale(1.1) rotate(5deg);
    }

    .discover-card-gold .discover-card-title {
        color: #c9951f;
        font-weight: 700;
    }

    .discover-card-gold .discover-card-desc {
        color: #9d7e1a;
        font-weight: 500;
    }

/* Card Icon */
.discover-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

    .discover-card-icon i {
        font-size: 18px;
        color: #1d1d1f;
    }

.discover-glass-card:hover .discover-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.5);
}

/* Card Content */
.discover-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.discover-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.discover-card-desc {
    font-size: 11px;
    font-weight: 500;
    color: rgba(29, 29, 31, 0.7);
    margin: 0;
    line-height: 1.3;
}

/* New Badge */
.discover-new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    background: rgba(226, 185, 35, 0.9);
    color: #ffffff;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(226, 185, 35, 0.3);
}

/* Trending Badge for Gold Card */
.discover-trending-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    animation: pulse-trending 2s ease-in-out infinite;
}

@keyframes pulse-trending {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 2px 15px rgba(255, 107, 53, 0.7);
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .discover-section {
        padding-left: 1.5rem !important;
    }

    .discover-glass-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .discover-card-icon {
        width: 36px;
        height: 36px;
    }

        .discover-card-icon i {
            font-size: 16px;
        }

    .discover-card-title {
        font-size: 12px;
    }

    .discover-card-desc {
        font-size: 10px;
    }

    .discover-new-badge {
        font-size: 7px;
        padding: 2px 6px;
    }
}

@media (max-width: 768px) {
    .discover-section {
        padding-left: 1rem !important;
        border-left: none;
        padding-top: 2rem;
        border-top: 1px solid #eee;
    }

    .discover-glass-card {
        padding: 12px 14px;
    }

    .discover-card-icon {
        width: 38px;
        height: 38px;
    }

        .discover-card-icon i {
            font-size: 17px;
        }
}

@media (max-width: 480px) {
    .discover-title {
        font-size: 13px;
    }

    .discover-glass-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .discover-card-icon {
        width: 34px;
        height: 34px;
    }

        .discover-card-icon i {
            font-size: 15px;
        }

    .discover-card-title {
        font-size: 11px;
    }

    .discover-card-desc {
        font-size: 9px;
    }
}

/* ========================================
   EHS MEGAMENU - MULTI-COLUMN STYLE (IVANTI)
   ======================================== */

.megamenu-title {
    color: #083d59;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.megamenu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .megamenu-links li {
        margin-bottom: 10px;
    }

    .megamenu-links a {
        color: #495057;
        font-size: 14px;
        display: block;
        padding: 5px 0;
        transition: all 0.2s ease;
        text-decoration: none;
    }

        .megamenu-links a:hover {
            color: #e2b923;
            padding-left: 5px;
        }

/* Megamenu Sidebar - LEFT Side Featured Content */
.megamenu-sidebar {
    background: #eff5ff;
    padding: 20px !important;
    border-radius: 8px;
}

/* Border on RIGHT side of sidebar (since it's on the left) */
/*    .megamenu-sidebar.border-end {
        border-right: 1px solid #dee2e6 !important;
        border-left: none !important;
    }

.featured-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}*/

.featured-card .badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    display: inline-block;
}

.featured-card img {
    width: 100%;
    height: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.featured-card h6 {
    font-size: 16px;
    line-height: 1.4;
    color: #212529;
    font-weight: 700;
}

.featured-card .small {
    font-size: 13px;
    line-height: 1.5;
    color: #6c757d;
}

.featured-card .btn {
    background: #7c3aed;
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    color: #fff;
    transition: all 0.3s ease;
}

    .featured-card .btn:hover {
        background: #6d28d9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    }

/* Responsive for EHS Megamenu */
@media (max-width: 991px) {
    .megamenu-sidebar {
        margin-bottom: 20px;
        border-bottom: 1px solid #dee2e6;
        border-right: none !important;
        padding-right: 0 !important;
    }

        .megamenu-sidebar.border-end {
            border-right: none !important;
            border-bottom: 1px solid #dee2e6 !important;
        }

    .megamenu-title {
        font-size: 12px;
    }

    .megamenu-links a {
        font-size: 13px;
    }
}

.ehs-bottom-link {
    font-weight: 700;
    font-size: 13px;
    color: #083d59;
    text-decoration: none;
}

/* ========================================
   EHS LIQUID GLASS CARDS
   ======================================== */

.ehs-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .ehs-glass-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        background: rgba(255, 255, 255, 0.85);
        border-color: rgba(214, 51, 132, 0.3);
    }

/* Card Image Container */
.ehs-card-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

    .ehs-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.ehs-glass-card:hover .ehs-card-image img {
    transform: scale(1.1);
}

/* Badge on Image */
.ehs-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(214, 51, 132, 0.95);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.ehs-badge-health {
    background: rgba(32, 201, 151, 0.95);
}

.ehs-badge-safety {
    background: rgba(255, 159, 67, 0.95);
}

/* Card Content */
.ehs-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ehs-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ehs-card-text {
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 15px;
}

/* Features List */
.ehs-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

    .ehs-features-list li {
        font-size: 12px;
        color: #6c757d;
        padding: 6px 0;
        padding-left: 20px;
        position: relative;
        line-height: 1.4;
    }

        .ehs-features-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 12px;
            width: 6px;
            height: 6px;
            background: #d63384;
            border-radius: 50%;
        }

/* Read More Link */
.ehs-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d63384;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

    .ehs-read-more:hover {
        color: #c02463;
        gap: 10px;
    }

    .ehs-read-more i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .ehs-read-more:hover i {
        transform: translateX(4px);
    }

/* Responsive */
@media (max-width: 991px) {
    .ehs-glass-card {
        margin-bottom: 20px;
    }

    .ehs-card-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .ehs-card-image {
        height: 220px;
    }

    .ehs-card-title {
        font-size: 20px;
    }

    .ehs-card-text {
        font-size: 14px;
    }
}

.ehs-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .ehs-card-link:hover .ehs-glass-card {
        cursor: pointer;
    }

/* ========================================
   TEC SOLUTIONS MEGAMENU - DYNAMIC SIZE ON TAB HOVER
   ======================================== */

/* Tab Navigation Buttons */
#tec-solutions-tabs .nav-link {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

    /* Hover Effect - Changes Tab */
    #tec-solutions-tabs .nav-link:hover {
        background-color: rgba(8, 61, 89, 0.1);
        color: #083d59;
        border-left-color: #083d59;
    }

    /* Active Tab */
    #tec-solutions-tabs .nav-link.active {
        background-color: rgba(8, 61, 89, 0.1);
        color: #083d59;
        border-left-color: #083d59;
        font-weight: 700;
    }

/* Tab Content Area */
#tec-solutions-tabContent {
    min-height: 300px;
}

    /* Main Heading in Tab */
    #tec-solutions-tabContent h4 {
        color: #1d1d1f;
        font-size: 28px;
    }

    #tec-solutions-tabContent .text-muted {
        font-size: 15px;
    }

/* Base megamenu with smooth transition */
#tec-solutions-menu-item .megamenu {
    transition: width 0.3s ease, max-width 0.3s ease;
    width: 95%;
    max-width: 1200px;
}


/* Megamenu Links with Icons */
.megamenu-links li {
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.megamenu-links a i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.megamenu-links a:hover i {
    color: #e2b923;
    transform: scale(1.15);
}

/* Bottom Links in Sidebar */
.megamenu-sidebar .border-top a {
    transition: all 0.3s ease;
    padding: 8px 0;
}

    .megamenu-sidebar .border-top a:hover {
        padding-left: 10px;
        color: #e2b923 !important;
    }

/* Responsive */
@media (max-width: 991px) {
    #tec-solutions-tabs {
        flex-direction: row !important;
        border-bottom: 1px solid #dee2e6;
        margin-bottom: 20px;
    }

        #tec-solutions-tabs .nav-link {
            border-left: none;
            border-bottom: 3px solid transparent;
            text-align: center;
        }

            #tec-solutions-tabs .nav-link.active,
            #tec-solutions-tabs .nav-link:hover {
                border-left: none;
                border-bottom-color: #083d59;
            }
}





.col.position-relative,
.submenu-grid .grid-card.position-relative {
    position: relative !important;
}

.product-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.badge-new {
    background-color: var(--badge-color-new);
}

.badge-best-seller {
    background-color: var(--badge-color-best-seller);
}

.badge-deal {
    background-color: var(--badge-color-deal);
}

.fade-up-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

    .fade-up-item.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.about-xip-area {
    padding-top: 20px;
    padding-bottom: 40px;
    margin-top: -100px;
    z-index: 1000;
}

.about-area-2 {
    position: relative;
    z-index: 3;
}

.mb-25 {
    margin-bottom: 25px !important;
}
.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.pb-40 {
    padding-bottom: 40px !important;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-15 {
    padding-top: 15px !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.home-about-content-wrapper2 {
    padding-left: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .home-about-content-wrapper2 {
        padding-left: 0;
    }
}

.home-about-content {
    background: #fff;
    padding: 30px;
    border-top: #e2b923 3px solid;
}

    .home-about-content.section-title {
        position: relative;
        z-index: 1;
    }

    .home-about-content.semi-title {
        color: #b8b8b8;
        font-size: 14px;
        letter-spacing: 0;
    }

.mb-20 {
    margin-bottom: 20px !important;
}

.w3-badge {
    background-color: #818a9c;
    color: #fff;
    display: inline-block;
    padding: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 5px;
}

.text-justify {
    text-align: justify !important;
}

.theme_btn2 {
    overflow: hidden;
    color: #1d1d1f;
    background-color: rgba(234, 234, 234, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /*    background-color: #eaeaea;*/
    font-size: 16px;
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: 500;
    line-height: 1;
    padding: 21px 40px;
    display: inline-block;
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all .4s ease-in-out;
    text-transform: capitalize;
    margin-top: 20px;
    border-radius: 50px;
    will-change: opacity;
}

    .theme_btn2:hover {
        background-color: #083d59;
        color: #eaeaea
    }

.single-about-wrapper {
    margin-top: -20px;
    margin-right: 0;
    margin-left: 0;
}

.single-about {
    background-color: #fff;
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

    .single-about img {
        width: 100%;
        margin-bottom: 15px;
        border-radius: 20px 20px 0 0;
    }

    .single-about h6 {
        font-family: 'Raleway', 'Open Sans', sans-serif !important;
        letter-spacing: .3px;
        color: #6e6e73;
        font-weight: 600;
        padding-left: 20px;
        padding-top: 15px;
        padding-bottom: 10px;
        margin: 0;
    }

    .single-about h5 {
        font-family: 'Raleway', 'Open Sans', sans-serif !important;
        padding: 10px 20px 20px;
        line-height: 26px;
        margin-bottom: 4px;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: .3px;
        text-transform: uppercase;
        color: #1d1d1f;
        margin: 0;
    }

    .single-about p {
        font-size: 14px;
        padding: 20px;
        padding-bottom: 24px;
        margin: 0;
    }

.sol {
    padding: 15px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.sect-title {
    font-size: 30px;
    line-height: 42px;
    color: #1d1d1f;
    font-weight: 700
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-about-wrapper {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .single-about-wrapper {
        margin-top: 0px;
    }

        .single-about-wrapper .col-xl-6:first-child {
            margin-top: 30px;
        }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.kiosk-area {
    padding-top: 80px;
    padding-bottom: 40px;
    background: var(--color-white);
}

@media (max-width: 991px) {
    .kiosk-area {
        padding-top: 60px;
        padding-bottom: 30px;
    }
}

.kiosk-area .col-lg-7 {
    padding-top: 0;
}

@media (max-width: 991px) {
    .kiosk-area .col-lg-7 {
        padding-top: 90px;
    }
}

@media (max-width: 767px) {
    .kiosk-area .col-lg-7 {
        padding-top: 30px;
    }
}

.sol1 {
    width: auto !important;
    padding: 50px 15px 15px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.kiosk-slide2 .owl-bg {
    background-color: #f2f2f2;
    border-radius: 15px;
}

.kiosk-slide2 .item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.owl-bg:hover {
    background: #f5f5f7;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
}

.kiosk-nav .owl-carousel i {
    background: #222121;
    padding: 4px 6px;
    border-radius: 50%;
    color: #fff;
    text-align: right;
    float: right;
    margin: 10px;
    font-weight: 500
}

    .kiosk-nav .owl-carousel i:hover {
        background: #083d59
    }

.kiosk-slide2 .single-portfolio {
    padding: 23px 0 0
}

.kiosk-slide2 h6 {
    padding-left: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.kiosk-slide2 .fa-plus {
    font-size: 1.25rem;
    color: #007bff;
    text-align: right;
}

/* Hide portfolio nav and dots when using the kiosk-nav wrapper */
.kiosk-container.kiosk-nav .owl-nav,
.kiosk-container.kiosk-nav .owl-dots {
    display: none !important;
}

/* Ensure carousel and all owl-related wrappers stretch to full height so items are equal height */
.kiosk-container .kiosk-slide2,
.kiosk-container .kiosk-slide2 .owl-stage-outer,
.kiosk-container .kiosk-slide2 .owl-stage,
.kiosk-container .kiosk-slide2 .owl-item,
.kiosk-container .kiosk-slide2 .item {
    height: 100%;
}

/* Make item content fill the available vertical space */
.kiosk-slide2 .owl-bg {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0; /* allow flex children to shrink */
}

    /* Let the image take available space and keep consistent sizing */
    .kiosk-slide2 .owl-bg img {
        width: 100%;
        height: 100%; /* fill available space so text block stays consistent */
        object-fit: cover;
        flex: 1 1 auto;
        display: block;
    }

.kiosk-slide2 .single-portfolio {
    flex: 0 0 auto;
}

.kiosk-area .col-lg-7 .kiosk-container {
    min-height: 340px;
}

.icon-bar {
    position: fixed;
    top: 50%;
    left: 0; /* align to left side */
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px; /* space between icons */
    padding: 8px; /* add some inset from the very edge */
}

    .icon-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        text-align: center;
        transition: all 0.3s ease;
        color: #fff;
        font-size: 18px;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    }

        .icon-bar a:hover {
            transform: scale(1.12);
        }

/* ensure spacing on very small screens */
@media (max-width: 768px) {
    .icon-bar {
        display: none;
    }
}

/* Social icon backgrounds (restore) */
.footer__social .fb {
    background: #3b5998;
}

.footer__social .instagram {
    /* solid fallback for older browsers */
    background-color: #833ab4;
    /* correct linear gradient with comma-separated color stops */
    background-image: linear-gradient(90deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.footer__social .tw {
    background: #00acee;
}

.footer__social .in {
    background: #0a66c2;
}

.footer__social .yt {
    background: #c4302b;
}

.footer__social .blog {
    background: #fc4f08;
}

.footer__social .wtap {
    background: #25d366;
}

/* Ensure icons have sufficient contrast and pointer cursor */
.footer__social a {
    color: #fff; /* icon color */
    cursor: pointer;
}

    .footer__social a:focus {
        outline: 2px solid rgba(0,0,0,0.12);
        outline-offset: 2px;
    }

/* ===========================
   AMBIC Model Section - Light Glassmorphism Style (Clean Gradient)
   =========================== */
.ambic-model-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #c7d7ed 0%, #dfe7f2 50%, #c7d7ed 100%);
    position: relative;
    overflow: hidden;
}

.ambic-badge {
    display: inline-block;
    background: rgba(226, 185, 35, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 185, 35, 0.3);
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d4a017;
    margin-bottom: 20px;
}
/* Section Header */
.ambic-header {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.ambic-main-title {
    font-size: 42px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ambic-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Cards Wrapper - ONE LINE LAYOUT */
.ambic-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Individual Tech Card */
.ambic-tech-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 28px;
    padding-top: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

    .ambic-tech-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        border-color: rgba(226, 185, 35, 0.4);
    }

/* Letter Circle Above Card */
.ambic-letter-circle {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(226, 185, 35, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.ambic-tech-card:hover .ambic-letter-circle {
    background: rgba(226, 185, 35, 0.2);
    border-color: rgba(226, 185, 35, 0.6);
    transform: translateX(-50%) scale(1.1);
}

.letter {
    font-size: 28px;
    font-weight: 900;
    color: #e2b923;
    text-shadow: 0 2px 8px rgba(226, 185, 35, 0.3);
}

/* Remove Connecting Line */
.connecting-line {
    display: none;
}

/* Card Header */
.tech-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-align: center;
}

/* Icon Circle */
.tech-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(226, 185, 35, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ambic-tech-card:hover .tech-icon-circle {
    background: linear-gradient(135deg, rgba(226, 185, 35, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
    transform: scale(1.1);
}

.tech-icon-circle img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0.8);
}

/* Card Title */
.tech-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

/* Card Body */
.tech-card-body {
    padding-top: 0;
}

/* Features List - BULLET ALIGNED TO FIRST LINE MIDDLE */
.tech-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tech-features-list li {
        font-size: 13px;
        line-height: 1.6;
        color: #4a5568;
        padding: 6px 0;
        padding-left: 20px;
        position: relative;
        text-align: left;
    }

        .tech-features-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            margin-top: 4px;
            width: 5px;
            height: 5px;
            background: #e2b923;
            border-radius: 50%;
        }

.ambic-tech-card:hover .tech-features-list li::before {
    background: #d4a017;
    box-shadow: 0 0 8px rgba(226, 185, 35, 0.5);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .ambic-cards-wrapper {
        max-width: 1200px;
        gap: 18px;
    }

    .ambic-tech-card {
        padding: 24px;
        padding-top: 90px;
    }

    .ambic-letter-circle {
        width: 65px;
        height: 65px;
    }

    .letter {
        font-size: 26px;
    }

    .tech-card-title {
        font-size: 17px;
    }

    .tech-features-list li {
        font-size: 12px;
    }

        .tech-features-list li::before {
            top: 6px;
            margin-top: 3px;
        }
}

/* Large Tablet - 3 columns */
@media (max-width: 1200px) {
    .ambic-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .ambic-main-title {
        font-size: 38px;
    }
}

/* Tablet - 2 columns */
@media (max-width: 992px) {
    .ambic-model-section {
        padding: 60px 0;
    }

    .ambic-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .ambic-tech-card {
        padding: 28px;
        padding-top: 90px;
    }

    .tech-card-header {
        flex-direction: row;
        text-align: left;
    }

    .tech-card-title {
        font-size: 18px;
    }

    .tech-features-list li {
        font-size: 13px;
    }

        .tech-features-list li::before {
            top: 6px;
            margin-top: 4px;
        }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .ambic-header {
        margin-bottom: 40px;
    }

    .ambic-main-title {
        font-size: 32px;
    }

    .ambic-description {
        font-size: 15px;
    }

    .ambic-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ambic-tech-card {
        padding-top: 85px;
    }

    .ambic-letter-circle {
        width: 60px;
        height: 60px;
    }

    .letter {
        font-size: 24px;
    }

    .tech-icon-circle {
        width: 55px;
        height: 55px;
    }

        .tech-icon-circle img {
            width: 28px;
            height: 28px;
        }

    .tech-card-title {
        font-size: 20px;
    }

    .tech-features-list li::before {
        top: 6px;
        margin-top: 4px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ambic-model-section {
        padding: 50px 0;
    }

    .ambic-main-title {
        font-size: 28px;
    }

    .ambic-description {
        font-size: 14px;
    }

    .ambic-cards-wrapper {
        gap: 55px;
    }

    .ambic-tech-card {
        padding: 24px;
        padding-top: 80px;
        border-radius: 20px;
    }

    .ambic-letter-circle {
        width: 55px;
        height: 55px;
        top: -35px;
    }

    .letter {
        font-size: 22px;
    }

    .tech-card-header {
        gap: 14px;
        margin-bottom: 18px;
    }

    .tech-icon-circle {
        width: 50px;
        height: 50px;
    }

        .tech-icon-circle img {
            width: 26px;
            height: 26px;
        }

    .tech-card-title {
        font-size: 18px;
    }

    .tech-features-list li {
        font-size: 12px;
        padding: 5px 0 5px 18px;
    }

        .tech-features-list li::before {
            width: 4px;
            height: 4px;
            top: 5px;
            margin-top: 3px;
        }
}

/* ========================================
   Products and Services Section - Liquid Glass Cards
   ======================================== */

/* Main Section with Animated Background */
.services-section {
    position: relative;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

    /* Animated Background Orbs */
    .services-section::before,
    .services-section::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.5;
        animation: float 15s ease-in-out infinite;
    }

    .services-section::before {
        width: 400px;
        height: 400px;
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        top: -200px;
        left: -200px;
        animation-delay: 0s;
    }

    .services-section::after {
        width: 500px;
        height: 500px;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        bottom: -250px;
        right: -250px;
        animation-delay: 5s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(-30px) translateX(30px) scale(1.1);
    }

    66% {
        transform: translateY(20px) translateX(-20px) scale(0.9);
    }
}

/* Ensure content stays above background */
.services-section .container {
    position: relative;
    z-index: 1;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .services-section {
        padding: 55px 0 60px;
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: 95px 0 30px;
    }
}

/* Section Title Spacing */
.services-section .section-title {
    margin-bottom: 20px;
    padding: 10px 25px;
}

@media (max-width: 767px) {
    .services-section .section-title {
        margin-bottom: 30px;
        padding: 15px 20px;
        border-radius: 15px;
    }
}

.services-section .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #083d59;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .services-section .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
}

.services-section .section-title .semi-title {
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1f;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 767px) {
    .services-section .section-title .semi-title {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Product Card Link Wrapper */
.product-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

/* Liquid Glass Product Card */
.product-card-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    border-radius: 25px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

    /* Shimmer Effect on Glass */
    .product-card-wrapper::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.5s ease;
        z-index: 1;
        pointer-events: none;
    }

.product-card-link:hover .product-card-wrapper::before {
    left: 100%;
}

@media (max-width: 767px) {
    .product-card-wrapper {
        border-radius: 20px;
        margin-bottom: 20px;
    }
}

.product-card-link:hover .product-card-wrapper,
.product-card-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.5);
    transform: translateY(-10px) scale(1.02);
}

/* Product Image - Normal Card (Image Top) */
.product-card-wrapper img {
    width: 100%;
    border-radius: 25px 25px 0 0;
    margin-bottom: 0;
    transition: all 0.4s ease;
    display: block;
    order: -1;
    position: relative;
    z-index: 2;
    filter: brightness(0.85) contrast(1.1);
}

@media (max-width: 767px) {
    .product-card-wrapper img {
        border-radius: 20px 20px 0 0;
    }
}

/* Alternate Card - Image Bottom */
.product-card-wrapper.alternate img {
    border-radius: 0 0 25px 25px;
    order: 999;
}

@media (max-width: 767px) {
    .product-card-wrapper.alternate img {
        border-radius: 0 0 20px 20px;
    }
}

/* On Hover - Clear/Bright Image */
.product-card-link:hover .product-card-wrapper img,
.product-card-wrapper:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.15);
}

/* Product Title */
.product-card-wrapper h5 {
    padding: 25px 20px 8px;
    line-height: 26px;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .product-card-wrapper h5 {
        font-size: 18px;
        padding: 20px 15px 8px;
    }
}

.product-card-link:hover .product-card-wrapper h5,
.product-card-wrapper:hover h5 {
    color: #f5d142;
    text-shadow: 0 0 20px rgba(245, 209, 66, 0.5);
}

/* Product Description */
.product-card-wrapper p {
    font-size: 14px;
    padding: 5px 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .product-card-wrapper p {
        font-size: 13px;
        padding: 5px 15px;
        margin-bottom: 12px;
    }
}

/* Button Container */
.product-card-wrapper .text-md-end {
    padding: 0 20px 20px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .product-card-wrapper .text-md-end {
        padding: 0 15px 15px;
        text-align: center;
    }
}

/* Glass Button */
.service-link-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
    .service-link-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.product-card-link:hover .service-link-btn,
.service-link-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Owl Carousel Navigation */
.product-carousel-active .owl-nav {
    text-align: center;
    position: absolute;
    top: -80px;
    right: 0;
    margin: 0;
    z-index: 10;
    display: none;
}

@media (max-width: 991px) {
    .product-carousel-active .owl-nav {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}

.product-carousel-active .owl-nav button.owl-prev,
.product-carousel-active .owl-nav button.owl-next {
    font-size: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 46px !important;
    margin: 0 7px;
    transition: all 0.3s ease;
    display: inline-block !important;
}

    .product-carousel-active .owl-nav button.owl-prev:hover,
    .product-carousel-active .owl-nav button.owl-next:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }

.product-carousel-active .owl-nav button span {
    font-size: 20px;
    line-height: 46px;
}

/* Owl Carousel Dots */
.product-carousel-active .owl-dots {
    text-align: center;
    margin-top: 30px;
    display: none;
}

@media (max-width: 767px) {
    .product-carousel-active .owl-dots {
        margin-top: 20px;
        display: none;
    }
}

.product-carousel-active .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

    .product-carousel-active .owl-dots .owl-dot.active,
    .product-carousel-active .owl-dots .owl-dot:hover {
        background: #fff;
        width: 30px;
        border-radius: 10px;
    }

/* Owl Carousel Item Spacing */
.product-carousel-active .owl-stage-outer {
    padding: 10px 0;
}

.product-carousel-active .owl-item {
    padding: 0 5px;
}

@media (max-width: 767px) {
    .product-carousel-active .owl-item {
        padding: 0 3px;
    }
}


/* Main Section */
.services-section {
    position: relative;
    padding: 60px 0 40px;
    background: #f5f5f7;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .services-section {
        padding: 55px 0 60px;
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: 95px 0 30px;
    }
}

/* Product Card Link Wrapper */
.product-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

/* Product Card */
.product-card-wrapper {
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.15);
    padding: 0;
    border-radius: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

@media (max-width: 767px) {
    .product-card-wrapper {
        border-radius: 20px;
        margin-bottom: 20px;
    }
}

.product-card-link:hover .product-card-wrapper,
.product-card-wrapper:hover {
    box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.16);
    transform: translateY(-5px);
}

/* Product Image Container - For Overlay Effect */
.product-card-wrapper {
    position: relative;
}

    /* Product Image - Normal Card (Image Top) */
    .product-card-wrapper img {
        width: 100%;
        border-radius: 25px 25px 0 0;
        margin-bottom: 0;
        transition: all 0.3s ease;
        display: block;
        order: -1;
        position: relative;
    }

        /* Black Overlay on Image (Default State) */
        .product-card-wrapper img::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            pointer-events: none;
        }

    /* Alternative: Using wrapper approach for overlay */
    .product-card-wrapper > a,
    .product-card-wrapper > div:first-child {
        position: relative;
    }

    .product-card-wrapper img {
        filter: brightness(0.7);
    }

@media (max-width: 767px) {
    .product-card-wrapper img {
        border-radius: 20px 20px 0 0;
    }
}

/* Alternate Card - Image Bottom */
.product-card-wrapper.alternate img {
    border-radius: 0 0 25px 25px;
    order: 999;
}

@media (max-width: 767px) {
    .product-card-wrapper.alternate img {
        border-radius: 0 0 20px 20px;
    }
}

/* On Hover - Clear/Bright Image */
.product-card-link:hover .product-card-wrapper img,
.product-card-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Product Title */
.product-card-wrapper h5 {
    padding: 25px 20px 8px;
    line-height: 26px;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #083d59;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .product-card-wrapper h5 {
        font-size: 18px;
        padding: 20px 15px 8px;
    }
}

.product-card-link:hover .product-card-wrapper h5,
.product-card-wrapper:hover h5 {
    color: #e2b923;
}

/* Product Description */
.product-card-wrapper p {
    font-size: 14px;
    padding: 5px 20px;
    color: #1d1d1f;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

@media (max-width: 767px) {
    .product-card-wrapper p {
        font-size: 13px;
        padding: 5px 15px;
        margin-bottom: 12px;
    }
}

/* Button Container */
.product-card-wrapper .text-md-end {
    padding: 0 20px 20px;
    margin-top: auto;
}

@media (max-width: 767px) {
    .product-card-wrapper .text-md-end {
        padding: 0 15px 15px;
        text-align: center;
    }
}

/* Service Link Button */
.service-link-btn {
    background-color: #f1f1f1;
    color: #083d59;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

@media (max-width: 767px) {
    .service-link-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.product-card-link:hover .service-link-btn,
.service-link-btn:hover {
    background-color: #083d59;
    color: #fff;
    border-color: #083d59;
    transform: translateX(5px);
    text-decoration: none;
}

/* Owl Carousel Navigation */
.product-carousel-active .owl-nav {
    text-align: center;
    position: absolute;
    top: -80px;
    right: 0;
    margin: 0;
    z-index: 10;
    display: none;
}

@media (max-width: 991px) {
    .product-carousel-active .owl-nav {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}

.product-carousel-active .owl-nav button.owl-prev,
.product-carousel-active .owl-nav button.owl-next {
    font-size: 18px !important;
    border: 2px solid #e8e8e8 !important;
    background: #f2f2f2 !important;
    color: #1d1d1f !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 46px !important;
    margin: 0 7px;
    transition: all 0.3s ease;
    display: inline-block !important;
}

    .product-carousel-active .owl-nav button.owl-prev:hover,
    .product-carousel-active .owl-nav button.owl-next:hover {
        color: #fff !important;
        background: #083d59 !important;
        border-color: #083d59 !important;
    }

.product-carousel-active .owl-nav button span {
    font-size: 20px;
    line-height: 46px;
}

/* Owl Carousel Dots */
.product-carousel-active .owl-dots {
    text-align: center;
    margin-top: 30px;
    display: none;
}

@media (max-width: 767px) {
    .product-carousel-active .owl-dots {
        margin-top: 20px;
        display: none;
    }
}

.product-carousel-active .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d1d1;
    margin: 0 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

    .product-carousel-active .owl-dots .owl-dot.active,
    .product-carousel-active .owl-dots .owl-dot:hover {
        background: #e2b923;
        width: 30px;
        border-radius: 10px;
    }

/* Owl Carousel Item Spacing - REDUCED GAP */
.product-carousel-active .owl-stage-outer {
    padding: 10px 0;
}

.product-carousel-active .owl-item {
    padding: 0 5px;
}

@media (max-width: 767px) {
    .product-carousel-active .owl-item {
        padding: 0 3px;
    }
}






/* --- Main Footer Setup --- */
.footer-area {
    background: #222429 url(../img/footer-bg.png) no-repeat center;
    background-size: cover;
    padding-top: 80px;
    color: #cbcbcb;
}

/* --- Widgets & Titles --- */

.footer__widget {
    margin-bottom: 30px;
}

.footer__widget1 {
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    display: block;
    max-width: 100%;
}

.footer__widget .widget-title {
    color: #e2b923;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 35px;
    padding-bottom: 20px;
    position: relative; /* Anchor for potential underlines */
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
}

.footer__widget p {
    color: #cbcbcb;
}

/* --- Vertical Divider (The "Border Theme") --- */
/* Optimized to be responsive without magic numbers */
.border-theme {
    position: relative;
}

@media (min-width: 992px) {
    .border-theme::after {
        content: "";
        position: absolute;
        width: 1px;
        background-color: #ededed;
        top: 0;
        bottom: 0; /* Stretches automatically */
        right: 15px;
        opacity: 0.1;
    }
}

/* --- Footer Links (Replaced 'fot-list') --- */
.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
    /* Use Grid to split columns instead of pull-left/right */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Single column for the "Quick Links" section if needed */
.single-column {
    grid-template-columns: 1fr;
}

.footer-links a {
    color: #99b2bf;
    font-size: 16px;
    display: inline-block;
    transition: all .3s ease;
    position: relative;
    text-decoration: none;
    margin-bottom: 10px;
}

    /* Hover Effect with Arrow */
    .footer-links a::before {
        content: "";
        position: absolute;
        background: #e2b923;
        width: 5px;
        height: 1px;
        left: -20px;
        top: 50%;
        opacity: 0;
        transition: opacity .3s;
    }

    .footer-links a:hover {
        color: #e2b923 !important;
        transform: translateX(13px);
    }

        .footer-links a:hover::before {
            opacity: 1;
        }

/* --- Certification/Gov Bar --- */
.gov-bar {
    background: rgba(73, 75, 79, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 30px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}

    .gov-bar p {
        font-family: 'Raleway', sans-serif;
        color: #fff;
        font-size: 14px;
        letter-spacing: 1px;
        margin: 0;
        text-align: center;
    }

/* --- Copyright Bottom Area --- */
.copy-right-area {
    border-top: 1px solid #393a3f;
    padding: 15px 0;
}

.copyright p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
}

.copyright a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

    .copyright a:hover {
        color: #e2b923;
    }

/* --- Bottom Nav --- */
.footer-nav {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

    .footer-nav .nav-link {
        color: #a7a7a7;
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        transition: color 0.3s;
    }

        .footer-nav .nav-link:hover {
            color: #fff;
        }

/* --- Images --- */
.footer-logo-img {
    max-width: 100%;
}

.iso-img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .footer__widget {
        margin-bottom: 30px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-links a {
        font-size: 14px;
    }

    .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }

    .text-md-start {
        text-align: center !important;
    }

    .footer-nav {
        justify-content: center;
    }
}
/* --- Mobile Centering Fixes --- */
@media (max-width: 767px) {
    .footer__widget,
    .footer__widget .widget-title {
        text-align: center !important;
    }

    .footer-logo-img,
    .iso-img {
        margin: 0 auto;
        display: block;
    }

    .border-theme::after {
        display: none;
    }

    .footer-links {
        text-align: start;
    }

        .footer-links a {
            transform: none !important;
            padding-left: 0;
        }

            .footer-links a::before {
                display: none;
            }

    .text-md-start,
    .text-md-end {
        text-align: center !important;
    }

    .footer-nav {
        justify-content: center;
        margin-top: 15px;
    }
}

.soil-kiosk-bg {
    background: url(../img/touch-screen-kiosk-system-for-automated-soil-testing.webp) center fixed no-repeat;
    background-size: cover;
    padding: 50px;
}

    .soil-kiosk-bg h2 {
        font-weight: 500;
        color: #e2b923;
        text-transform: uppercase;
        line-height: 50px;
    }

    .soil-kiosk-bg button {
        overflow: hidden;
        color: #1d1d1f;
        background-color: rgba(234, 234, 234, 0.82);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        font-size: 16px;
        font-family: 'Raleway', 'Open Sans', sans-serif;
        font-weight: 500;
        line-height: 1;
        padding: 21px 40px;
        display: inline-block;
        position: relative;
        z-index: 1;
        border: none;
        cursor: pointer;
        text-decoration: none;
        transition: all .4s ease-in-out;
        text-transform: capitalize;
        margin-top: 0px;
        border-radius: 50px;
        will-change: opacity;
    }


        .soil-kiosk-bg button:hover {
            color: #fff;
            background: #083d59;
        }

.soil-text-bg {
    background: #FFF;
    border-radius: 20px;
    padding: 30px 25px 20px;
    border: 8px solid #e2b923;
}

    .soil-text-bg p {
        padding-top: 20px;
    }

hr {
    border-bottom: 2px solid #b9b9d6;
    border-top: 0 none;
    margin: 30px 0;
    padding: 0
}

/* Tablet devices (768px - 991px) */
@media (max-width: 991px) {
    .soil-kiosk-bg {
        padding: 40px 20px;
    }

        .soil-kiosk-bg h2 {
            line-height: 40px;
            font-size: 28px;
        }

    .soil-text-bg {
        padding: 25px 20px 15px;
        border-width: 6px;
    }
}

/* Mobile devices (less than 768px) */
@media (max-width: 767px) {
    .soil-kiosk-bg {
        padding: 30px 0; /* Remove left and right padding on mobile */
        background-attachment: scroll; /* Better performance on mobile */
    }

        .soil-kiosk-bg h2 {
            line-height: 35px;
            font-size: 24px;
        }

        .soil-kiosk-bg button {
            padding: 18px 30px;
            font-size: 14px;
        }

    .soil-text-bg {
        padding: 20px 15px 15px;
        border-width: 5px;
        border-radius: 15px;
    }

        .soil-text-bg p {
            padding-top: 15px;
            font-size: 14px;
        }
}

/* Extra small mobile devices (less than 576px) */
@media (max-width: 575px) {
    .soil-kiosk-bg {
        padding: 20px 0; /* Even less padding on very small screens */
    }

        .soil-kiosk-bg h2 {
            line-height: 30px;
            font-size: 20px;
        }

    soil-text-bg h4 {
        line-height: 130px;
    }

    .soil-kiosk-bg button {
        padding: 15px 25px;
        font-size: 13px;
        width: auto;
        margin: 10px auto 10px auto;
        display: block;
    }

    .soil-text-bg {
        padding: 15px 10px;
        border-width: 4px;
        border-radius: 12px;
        margin-bottom: 30px;
    }

    hr {
        margin: 10px 0px;
    }
}

/* Style the Image to look clickable */
.gallery-item {
    cursor: pointer;
    transition: 0.3s;
}

    .gallery-item:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* Sit on top */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (The Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.imgclose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .imgclose:hover,
    .imgclose:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.blog-area {
    position: relative;
    padding: 50px 0;
    background: #d2d8df url(../img/pattern-2.png) left top repeat;
}

    .blog-area h2 {
        margin-bottom: 20px;
    }

.blog-2 {
    background: #fff;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

    .blog-2 img {
        border-radius: 10px;
    }

    .blog-2 h6 {
        margin-top: 10px;
        line-height: 25px;
    }

/* Responsive adjustments */
@media (max-width: 767px) {
    .blog-area {
        padding: 30px 0;
    }

    .blog-2 {
        padding: 15px;
        border-radius: 20px;
    }
}
    .call-to-section .shape-1 {
        position: absolute;
        right: 0;
        top: 0;
        width: 340px;
        max-width: 100%;
        height: 100%;
        background: url(../img/icons/call-to-shape-1.png) right top no-repeat;
        z-index: 1
    }

    .call-to-section .shape-2 {
        position: absolute;
        right: 170px;
        top: 0;
        width: 410px;
        height: 54px;
        background: url(../img/icons/call-to-shape-2.png) right top no-repeat;
        z-index: 0
    }

    .call-to-section .inner {
        position: relative;
        display: block;
        padding: 50px 50px 25px;
        background: #e2b923;
        color: #222429;
        border-radius: 7px;
        overflow: hidden;
        bottom: -60px;
        margin-top: -60px
    }

    .call-to-section h2 {
        position: relative;
        display: block;
        font-size: 30px;
        line-height: .85em;
        text-transform: uppercase;
        color: #222429;
        margin: 12px 0 15px;
        z-index: 3
    }

    .call-to-section .link-box {
        position: relative;
        float: right;
        padding-top: 12px;
        z-index: 3
    }

.call-to-section__no-margin .inner {
    bottom: auto;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 120px;
    padding-bottom: 110px;
    padding: 0
}

/* =======================================
   1. BASE STYLES & MOBILE (0px - 767px)
   ======================================= */
.call-to-section {
    position: relative;
    padding: 0;
    margin-bottom: 20px;
    background: none;
    z-index: 1;
}

    .call-to-section .inner {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        background: #e2b923;
        color: #222429;
        padding: 20px 20px 15px;
        border-radius: 7px;
        overflow: hidden;
    }

    .call-to-section h2 {
        position: relative;
        font-size: 18px;
        line-height: 1.6em;
        text-transform: uppercase;
        color: #222429;
        margin: 0;
        z-index: 3;
        flex-grow: 1;
    }

    .call-to-section .link-box {
        position: relative;
        padding-top: 10px;
        z-index: 3;
        flex-shrink: 0;
    }

    .call-to-section .shape-1,
    .call-to-section .shape-2 {
        position: absolute;
        top: 0;
        background-repeat: no-repeat;
        background-position: right top;
        pointer-events: none;
    }

    .call-to-section .shape-1 {
        right: 0;
        width: 340px;
        height: 100%;
        background-image: url(../img/icons/call-to-shape-1.png);
        z-index: 1;
        max-width: 50%;
    }

    .call-to-section .shape-2 {
        right: 170px;
        width: 410px;
        height: 54px;
        background-image: url(../img/icons/call-to-shape-2.png);
        z-index: 0;
    }

.call-to-section__no-margin .inner {
    bottom: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 20px 15px;
}


/* =======================================
   2. TABLET / MEDIUM DEVICES (>= 768px)
   ======================================= */
@media (min-width: 768px) {
    .call-to-section .inner {
        padding: 20px 30px;
        flex-wrap: nowrap;
    }

    .call-to-section h2 {
        font-size: 24px;
        line-height: 1.2em;
        margin-right: 20px;
    }

    .call-to-section .link-box {
        padding-top: 0;
    }

    .call-to-section__no-margin h2 {
        padding-top: 15px;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .call-to-section h2 {
        font-size: 28px;
        font-weight: 600;
        text-align: center;
    }

    .call-to-section .inner {
        padding: 25px 31px 20px;
        justify-content: space-between;
    }

        .call-to-section .inner.centered {
            justify-content: center;
            text-align: center;
        }

            .call-to-section .inner.centered h2 {
                flex-basis: 100%;
                margin: 0 0 10px 0;
                text-align: center;
            }
}

.brand-area {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    padding: 40px 0px;
}

    .brand-area .brand-item {
        text-align: center;
    }

        .brand-area .brand-item .brand-front,
        .brand-area .brand-item .brand-back {
            display: inline-block;
            transition: all .3s ease;
        }

        .brand-area .brand-item .brand-back {
            display: none;
        }

        .brand-area .brand-item:hover .brand-front {
            display: none;
        }

        .brand-area .brand-item:hover .brand-back {
            display: inline-block;
        }

    .brand-area .owl-carousel .owl-item img {
        display: inline-block;
        max-width: 100%;
        width: unset;
        border-radius: 20px;
        transition: box-shadow .3s ease, transform .3s ease;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    .brand-area .brand-item:hover .owl-carousel .owl-item img {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
        border: 2px solid #f00;
    }
/* Awards Section Styles */
.awards-area {
    padding: 60px 0;
    background: #fff;
}

    .awards-area .container {
        position: relative;
    }

    .awards-area .semi-title {
        color: #5e5e5e;
        font-size: 16px;
        font-weight: 500;
        line-height: 25px;
    }
/* Force equal heights on all carousel items */
.awards-active .owl-stage {
    display: flex;
    align-items: stretch;
}

.awards-active .owl-item {
    display: flex;
    height: auto;
}

.awards-active .item {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.award-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .award-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .award-card a {
        text-decoration: none;
    }

    .award-card > a {
        display: block;
        flex-shrink: 0;
    }

    .award-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        transition: transform 0.3s ease;
        display: block;
    }

    .award-card:hover img {
        transform: scale(1.05);
    }

.award-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.award-meta {
    margin-bottom: 10px;
    flex-shrink: 0;
}

    .award-meta span {
        color: #083d59;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.award-content h5 {
    margin: 0;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.award-title {
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

    .award-title:hover {
        color: #083d59;
    }

/* Awards Section - Navigation next to Title */
.awards-area .section-title {
    position: relative;
}

.awards-active .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
    margin-top: -80px;
}

    .awards-active .owl-nav button {
        position: static !important;
        transform: none !important;
        background: rgba(8, 61, 89, 0.8) !important;
        color: #fff !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 18px;
        transition: all 0.3s ease;
        margin: 0;
    }

        .awards-active .owl-nav button:hover {
            background: #083d59 !important;
            transform: scale(1.1) !important;
        }

.awards-active .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.awards-active .owl-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
    display: none;
}

    .awards-active .owl-dot.active {
        background: #083d59;
        width: 30px;
        border-radius: 6px;
    }

/* Mobile Responsive */
@media (max-width: 991px) {
    .awards-area {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .awards-area {
        padding: 40px 0;
    }

        .awards-area .container {
            padding: 20px !important;
        }

    .award-card img {
        height: 180px;
    }

    .award-content {
        padding: 15px;
    }

    .award-title {
        font-size: 15px;
    }

    .award-meta span {
        font-size: 12px;
    }

    /* Mobile - Stack navigation below title */
    .awards-active .owl-nav {
        position: static;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 20px;
    }

        .awards-active .owl-nav button {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }
}

@media (max-width: 575px) {
    .award-card img {
        height: 160px;
    }

    .award-content {
        padding: 12px;
    }
}

/* ===========================
   CTA SECTION WITH STATS - FIXED ANIMATIONS
   =========================== */

.cta-section {
    position: relative;
    padding: 40px 0;
    background: #f5f5f5;
    background: url(../img/Kiosk-Line-Up.webp) center fixed no-repeat;
    background-size: cover;
}

.cta-wrapper {
    background: none;
    padding: 50px 40px;
    border-radius: 10px;
}

/* Statistics Grid - Circular Design */
.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: transparent;
    border: 5px solid #e2b923;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(226, 185, 35, 0.3);
    transition: all 0.3s ease;
    animation: stats-float 3s ease-in-out infinite;
}

/* RENAMED ANIMATIONS TO AVOID CONFLICTS */
@keyframes stats-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes stats-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes stats-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes stats-glow {
    0%, 100% {
        box-shadow: 0 12px 30px rgba(226, 185, 35, 0.5), 0 0 20px rgba(226, 185, 35, 0.3);
    }

    50% {
        box-shadow: 0 12px 30px rgba(226, 185, 35, 0.8), 0 0 40px rgba(226, 185, 35, 0.6);
    }
}

@keyframes stats-fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #e2b923;
    border-right-color: #e2b923;
    animation: stats-rotate 4s linear infinite;
    opacity: 0.5;
}

/*.stat-circle::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 2px solid #e2b923;
    opacity: 0;
    animation: stats-pulse 2s ease-out infinite;
}
*/
.stat-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(226, 185, 35, 0.5);
    border-color: #d4a617;
    animation: stats-float 3s ease-in-out infinite, stats-glow 1.5s ease-in-out infinite;
}

    .stat-circle:hover::before {
        animation: stats-rotate 2s linear infinite;
    }

/* Number Styling */
.stat-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

    .stat-number .counter,
    .stat-number .plus {
        animation: stats-fadeInScale 0.8s ease-out forwards;
    }

    .stat-number .counter {
        color: #e2b923;
        font-size: 36px;
        font-weight: 700;
        line-height: 1;
    }

    .stat-number .plus {
        color: #e2b923;
        font-size: 28px;
        font-weight: 700;
        margin-left: 2px;
    }

.stat-item h3 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 20px;
    text-transform: uppercase;
}

/* Stagger animation for each stat circle */
.stat-item:nth-child(1) .stat-circle {
    animation-delay: 0s;
}

.stat-item:nth-child(2) .stat-circle {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) .stat-circle {
    animation-delay: 0.4s;
}

.stat-item:nth-child(4) .stat-circle {
    animation-delay: 0.6s;
}

/* CTA Content - One Line Layout */
.cta-content {
    text-align: center;
    padding: 25px 20px;
    border: 2px solid #e2b923;
    border-radius: 8px;
    background: rgba(226, 185, 35, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

    .cta-content h2 {
        color: #fff;
        font-size: 18px;
        line-height: 24px;
        margin: 0;
        font-weight: 600;
    }

.cta-btn {
    display: inline-block;
    background: #e2b923;
    color: #fff;
    padding: 14px 26px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .cta-btn:hover {
        background: #fff;
        color: #083d59;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(226, 185, 35, 0.3);
    }

/* Video Button */
.video-btn-wrapper {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background: #e2b923;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

    .video-btn::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border: 2px solid #e2b923;
        border-radius: 50%;
        animation: stats-pulse-ring 2s infinite;
    }

@keyframes stats-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.video-btn:hover {
    background: #fff;
    color: #e2b923;
    transform: scale(1.1);
}

.video-btn i {
    margin-left: 4px;
}

/* Responsive Styles */
@media (min-width: 1400px) {
    .cta-wrapper {
        padding: 50px 40px;
    }

    .stat-circle {
        width: 140px;
        height: 140px;
    }

        .stat-circle::before {
            width: 120px;
            height: 120px;
        }

    .stat-number .counter {
        font-size: 36px;
    }

    .stat-number .plus {
        font-size: 28px;
    }

    .stat-item h3 {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .stats-grid {
        gap: 8px;
    }

    .stat-circle {
        width: 115px;
        height: 115px;
    }

        .stat-circle::before {
            width: 95px;
            height: 95px;
        }

    .stat-number .counter {
        font-size: 28px;
    }

    .stat-number .plus {
        font-size: 22px;
    }

    .stat-item h3 {
        font-size: 10px;
        line-height: 13px;
    }
}

@media (max-width: 1199px) {
    .stats-grid {
        gap: 6px;
    }

    .stat-circle {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }

        .stat-circle::before {
            width: 80px;
            height: 80px;
        }

    .stat-number .counter {
        font-size: 24px;
    }

    .stat-number .plus {
        font-size: 18px;
    }

    .stat-item h3 {
        font-size: 9px;
        line-height: 12px;
    }
}

@media (max-width: 991px) {
    .cta-wrapper {
        padding: 40px 30px;
    }

    .stats-grid {
        justify-content: center;
        margin-bottom: 25px;
        gap: 15px;
    }

    .stat-circle {
        width: 110px;
        height: 110px;
        margin-bottom: 15px;
    }

        .stat-circle::before {
            width: 90px;
            height: 90px;
        }

    .stat-number .counter {
        font-size: 26px;
    }

    .stat-number .plus {
        font-size: 20px;
    }

    .stat-item h3 {
        font-size: 11px;
        line-height: 14px;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-wrapper {
        padding: 30px 20px;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 25px;
    }

    .stat-circle {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }

        .stat-circle::before {
            width: 80px;
            height: 80px;
        }

    .stat-number .counter {
        font-size: 24px;
    }

    .stat-number .plus {
        font-size: 18px;
    }

    .stat-item h3 {
        font-size: 10px;
        line-height: 13px;
    }
}

@media (max-width: 480px) {
    .stat-circle {
        width: 90px;
        height: 90px;
    }

        .stat-circle::before {
            width: 70px;
            height: 70px;
        }

    .stat-number .counter {
        font-size: 22px;
    }

    .stat-number .plus {
        font-size: 16px;
    }
}


/* ===========================
   New Launches - Glassmorphism Design
   =========================== */
.new-launches-section {
    padding: 60px 0;
    background: linear-gradient(181.07deg, #CFE1FF -5.43%, rgba(255, 255, 255, 0.15) 60.79%);
    position: relative;
    overflow: hidden;
}

    /* Add animated background blobs for glass effect */
    .new-launches-section::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        top: -100px;
        right: -100px;
        animation: float-blob 20s ease-in-out infinite;
    }

    .new-launches-section::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        bottom: -80px;
        left: -80px;
        animation: float-blob 15s ease-in-out infinite reverse;
    }

@keyframes float-blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Bento Grid Layout - Purple & Green Side by Side */
.bento-grid-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.5fr 0.5fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    height: 600px;
    position: relative;
    z-index: 1;
}

/* ===========================
   LARGE LEFT CARD (White Glass)
   =========================== */
.bento-main-card {
    grid-row: 1 / 3;
    grid-column: 1;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
}

    .bento-main-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
        pointer-events: none;
    }

    .bento-main-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
        border-color: rgba(255, 255, 255, 0.6);
    }

/* Liquid Glass Label with Light Gold Background */
.main-card-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b8860b;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    background: rgba(255, 223, 128, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(184, 134, 11, 0.4);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-width: fit-content;
}

    /* Liquid flowing animation for label */
    .main-card-label::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(218, 165, 32, 0.3) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: -1;
    }

    .main-card-label:hover::before {
        width: 300px;
        height: 300px;
    }

    .main-card-label:hover {
        background: rgba(255, 223, 128, 0.35);
        border-color: rgba(184, 134, 11, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(184, 134, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        color: #996515;
    }

.main-card-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #1d1d1f;
    margin-bottom: 30px;
    max-width: 400px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.main-card-3d {
    position: absolute;
    right: -30px;
    width: 350px;
    height: 93%;
    pointer-events: none;
    z-index: 1;
}

.kiosk-3d-model {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-25px) rotate(2deg);
    }
}

/* Shop Button - White Glass Style with Two Lines */
.shop-btn {
    margin-top: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(29, 29, 31, 0.2);
    border-radius: 12px;
    padding: 10px 20px;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

    .shop-btn:hover {
        background: rgba(255, 255, 255, 0.5);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        border-color: rgba(29, 29, 31, 0.3);
    }

.shop-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.6);
    display: block;
    text-align: left;
    width: 100%;
}

.shop-text {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    display: block;
    text-align: left;
    width: 100%;
    margin-top: -5px;
}

.shop-btn i {
    font-size: 18px;
    color: #1d1d1f;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===========================
   TOP RIGHT CARD (Light Glass - Blog)
   =========================== */
.bento-info-card {
    grid-row: 1;
    grid-column: 2 / 4;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 21px 35px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
}

    .bento-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
        pointer-events: none;
    }

    .bento-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
        border-color: rgba(255, 255, 255, 0.6);
    }

.info-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(29, 29, 31, 0.7);
    display: block;
    margin-bottom: auto;
    position: relative;
    z-index: 2;
}

.info-bottom-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.info-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.2;
    margin: 0;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.info-image-right {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

    .info-image-right img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    }

.diagonal-arrow {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 40px;
    height: 40px;
    background: rgba(29, 29, 31, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

    .diagonal-arrow i {
        font-size: 16px;
        color: #ffffff;
        transform: rotate(-45deg);
    }

    .diagonal-arrow:hover {
        background: rgba(226, 185, 35, 0.9);
        transform: rotate(45deg) scale(1.1);
        box-shadow: 0 4px 15px rgba(226, 185, 35, 0.4);
    }

/* ===========================
   BOTTOM LEFT CARD (Purple Glass - About Us)
   =========================== */
.bento-purple-card {
    grid-row: 2;
    grid-column: 2;
    background: rgba(192, 132, 252, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(192, 132, 252, 0.4);
    border-radius: 28px;
    padding: 21px 35px 35px;
    position: relative;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
}

    .bento-purple-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(192, 132, 252, 0.2) 100%);
        pointer-events: none;
    }

    .bento-purple-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 48px rgba(168, 85, 247, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
        border-color: rgba(192, 132, 252, 0.6);
    }

/* ===========================
   BOTTOM RIGHT CARD (Green Glass - Contact Us)
   =========================== */
.bento-green-card {
    grid-row: 2;
    grid-column: 3;
    background: rgba(190, 242, 100, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(190, 242, 100, 0.5);
    border-radius: 28px;
    padding: 21px 35px 35px;
    position: relative;
    color: #1d1d1f;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(163, 230, 53, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
}

    .bento-green-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(163, 230, 53, 0.3) 0%, rgba(190, 242, 100, 0.2) 100%);
        pointer-events: none;
    }

    .bento-green-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 48px rgba(163, 230, 53, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border-color: rgba(190, 242, 100, 0.7);
    }

/* Shared Styles for Purple & Green Cards */
.card-small-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.4;
    opacity: 0.9;
    display: block;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

/* Card Image Wrapper */
.card-image-wrapper {
    width: 140px;
    position: relative;
    z-index: 2;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.bento-purple-card:hover .card-image,
.bento-green-card:hover .card-image {
    transform: scale(1.1);
}

.card-big-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-arrow {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.bento-purple-card .card-arrow {
    color: #ffffff;
}

.bento-green-card .card-arrow {
    color: #1d1d1f;
}

.card-arrow i {
    font-size: 16px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.card-arrow.paper-plane i {
    transform: rotate(0deg);
}

.card-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

    .card-arrow:hover i {
        transform: rotate(-45deg) translateX(2px);
    }

.card-arrow.paper-plane:hover i {
    transform: translateX(3px) translateY(-3px);
}

/* ===========================
   Liquid Glass Button
   =========================== */
.liquid-glass-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    align-self: center;
}

    /* Liquid flowing animation background */
    .liquid-glass-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(163, 230, 53, 0.4) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: -1;
    }

    .liquid-glass-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .liquid-glass-btn:hover {
        background: rgba(255, 255, 255, 0.5);
        border-color: rgba(163, 230, 53, 0.6);
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(163, 230, 53, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

.btn-text {
    position: relative;
    z-index: 2;
}

.liquid-glass-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.liquid-glass-btn:hover i {
    transform: translateX(4px);
}

/* For Purple Card (if needed) */
.bento-purple-card .liquid-glass-btn {
    color: #ffffff;
}

    .bento-purple-card .liquid-glass-btn::before {
        background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    }

    .bento-purple-card .liquid-glass-btn:hover {
        border-color: rgba(192, 132, 252, 0.6);
        box-shadow: 0 8px 30px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet */
@media (max-width: 1200px) {
    .bento-grid-layout {
        height: 550px;
        grid-template-columns: 1.2fr 0.5fr 0.5fr;
    }

    .main-card-title {
        font-size: 40px;
    }

    .main-card-3d {
        width: 280px;
        height: 100%;
        bottom: 120px;
    }

    .info-image-right {
        width: 150px;
        height: 150px;
    }

    .info-title {
        font-size: 28px;
    }

    .card-big-title {
        font-size: 32px;
    }

    .card-image-wrapper {
        width: 70px;
        height: 70px;
    }

    .liquid-glass-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

        .liquid-glass-btn i {
            font-size: 13px;
        }

    .main-card-label {
        font-size: 10px;
        padding: 8px 16px;
    }
}

/* Small Tablet */
@media (max-width: 992px) {
    .bento-grid-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
        gap: 15px;
    }

    .bento-main-card {
        grid-row: 1;
        grid-column: 1 / 3;
        min-height: 450px;
    }

    .bento-info-card {
        grid-row: 2;
        grid-column: 1 / 3;
        min-height: 250px;
    }

    .bento-purple-card {
        grid-row: 3;
        grid-column: 1;
        min-height: 250px;
    }

    .bento-green-card {
        grid-row: 3;
        grid-column: 2;
        min-height: 250px;
    }

    .main-card-3d {
        right: 20px;
        bottom: 80px;
        width: 250px;
        height: 100%;
    }

    .info-bottom-content {
        gap: 15px;
    }

    .info-image-right {
        width: 140px;
        height: 140px;
    }

    .card-image-wrapper {
        width: 65px;
        height: 65px;
    }

    .liquid-glass-btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .main-card-label {
        font-size: 10px;
        padding: 8px 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .new-launches-section {
        padding: 40px 0;
    }

    .bento-grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .bento-main-card {
        grid-column: 1;
        min-height: 400px;
        padding: 35px;
    }

    .bento-info-card {
        grid-column: 1;
    }

    .bento-purple-card,
    .bento-green-card {
        grid-column: 1;
        padding: 30px;
        min-height: 220px;
    }

    .main-card-title {
        font-size: 36px;
        max-width: 280px;
    }

    .main-card-3d {
        width: 200px;
        height: 100%;
        right: 10px;
        top: 45px;
    }

    .info-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .info-image-right {
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    .info-title {
        font-size: 26px;
    }

    .card-big-title {
        font-size: 28px;
    }

    .diagonal-arrow,
    .card-arrow {
        width: 36px;
        height: 36px;
        top: 7px;
        right: 7px;
    }

    .card-image-wrapper {
        width: 60px;
        height: 60px;
    }

    .liquid-glass-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    .main-card-label {
        font-size: 9px;
        padding: 7px 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .main-card-title {
        font-size: 32px;
    }

    .main-card-3d {
        width: 160px;
        height: 100%;
    }

    .info-title {
        font-size: 24px;
    }

    .info-image-right {
        height: 100%;
    }

    .card-big-title {
        font-size: 26px;
    }

    .shop-btn {
        padding: 14px 18px;
    }

    .card-image-wrapper {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }

    .liquid-glass-btn {
        padding: 10px 18px;
        font-size: 12px;
        gap: 8px;
    }

        .liquid-glass-btn i {
            font-size: 12px;
        }

    .main-card-label {
        font-size: 8px;
        padding: 6px 12px;
    }
}
/* ===========================
   ABOUT XIPHIAS SECTION - ENHANCED LIQUID GLASS - FIXED
   =========================== */

.about-xiptec{
    position: relative;
    padding: 80px 0 25px;
    /* background: linear-gradient(135deg, rgba(226, 185, 35, 0.05) 0%, rgba(8, 61, 89, 0.08) 50%, rgba(226, 185, 35, 0.05) 100%); */
    overflow: hidden;
}

    .about-xiptec::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        /* background: radial-gradient(circle, rgba(226, 185, 35, 0.1) 0%, transparent 70%); */
        animation: float 20s infinite ease-in-out;
        pointer-events: none;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Xiphias Glass Wrapper */
.xiphias-glass-wrapper {
    position: relative;
    z-index: 2;
}

/* Left Content Xiphias Glass Effect - ENHANCED */
.xiphias-glass-content-left {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

    .xiphias-glass-content-left::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent 30%, rgba(226, 185, 35, 0.15) 50%, transparent 70%);
        animation: shimmer 4s infinite;
        pointer-events: none;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

.xiphias-glass-content-left:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 1), 0 0 0 1px rgba(226, 185, 35, 0.2);
    border-color: rgba(226, 185, 35, 0.4);
    background: rgba(255, 255, 255, 0.85);
}

/* Xiphias Glass Badge - ENHANCED */
.xiphias-glass-badge {
    background: linear-gradient(135deg, rgba(226, 185, 35, 0.95) 0%, rgba(8, 61, 89, 0.95) 100%) !important;
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px !important;
    padding: 12px 24px !important;
    box-shadow: 0 6px 20px rgba(226, 185, 35, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .xiphias-glass-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
        transition: left 0.6s;
    }

    .xiphias-glass-badge:hover::before {
        left: 100%;
    }

    .xiphias-glass-badge:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(226, 185, 35, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

/* Xiphias Glass Cards - ENHANCED - FIXED HOVER */
.xiphias-glass-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    transform: translateZ(0);
    will-change: transform;
}

    .xiphias-glass-card img {
        border-radius: 24px 24px 0 0 !important;
        transition: transform 0.6s ease;
        display: block;
    }

    .xiphias-glass-card:hover img {
        transform: scale(1.08);
    }

/* Xiphias Glass Shimmer Effect */
.xiphias-glass-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s;
    pointer-events: none;
    z-index: 1;
}

.xiphias-glass-card:hover .xiphias-glass-shimmer {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* FIXED: Removed scale transform to fix border-radius issue */
.xiphias-glass-card:hover {
    transform: translateY(-12px) translateZ(0);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(226, 185, 35, 0.5) !important;
    background: rgba(255, 255, 255, 0.85) !important;
}

/* Card Variants */
.xiphias-glass-card-accent {
    background: linear-gradient(135deg, rgba(226, 185, 35, 0.2) 0%, rgba(255, 255, 255, 0.75) 100%) !important;
}

.xiphias-glass-card-gradient {
    background: linear-gradient(135deg, rgba(8, 61, 89, 0.2) 0%, rgba(255, 255, 255, 0.75) 100%) !important;
}

.xiphias-glass-card-premium {
    background: linear-gradient(135deg, rgba(226, 185, 35, 0.25) 0%, rgba(8, 61, 89, 0.15) 50%, rgba(255, 255, 255, 0.75) 100%) !important;
}

/* Xiphias Glass Card Link Wrapper - NO UNDERLINES */
.xiphias-glass-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

    .xiphias-glass-card-link:hover,
    .xiphias-glass-card-link:focus,
    .xiphias-glass-card-link:active,
    .xiphias-glass-card-link:visited {
        text-decoration: none !important;
        color: inherit;
    }

    /* Remove underlines from all text inside card links */
    .xiphias-glass-card-link h5,
    .xiphias-glass-card-link h6,
    .xiphias-glass-card-link p,
    .xiphias-glass-card-link span,
    .xiphias-glass-card-link div {
        text-decoration: none !important;
    }

    /* Ensure xiphias glass card inherits link behavior */
    .xiphias-glass-card-link .xiphias-glass-card {
        cursor: pointer;
    }

    /* Make sure text colors don't change on hover - keep original colors */
    .xiphias-glass-card-link h5,
    .xiphias-glass-card-link h6,
    .xiphias-glass-card-link p {
        color: inherit;
        transition: color 0.3s ease;
        text-decoration: none !important;
    }

    .xiphias-glass-card-link:hover h5,
    .xiphias-glass-card-link:hover h6 {
        color: #1d1d1f;
        text-decoration: none !important;
    }

    .xiphias-glass-card-link:hover p {
        color: #1d1d1f;
        text-decoration: none !important;
    }

    /* Optional: Add subtle indicator that card is clickable */
    .xiphias-glass-card-link .xiphias-glass-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 24px;
        border: 2px solid transparent;
        transition: border-color 0.3s ease;
        pointer-events: none;
    }

    .xiphias-glass-card-link:hover .xiphias-glass-card::after {
        border-color: rgba(226, 185, 35, 0.3);
    }

    /* Ensure images don't have pointer events conflict */
    .xiphias-glass-card-link img {
        pointer-events: none;
    }

/* Force remove underlines from parent containers */
.single-about-wrapper a {
    text-decoration: none !important;
}

    .single-about-wrapper a:hover,
    .single-about-wrapper a:focus,
    .single-about-wrapper a:active,
    .single-about-wrapper a:visited {
        text-decoration: none !important;
    }

/* NUCLEAR OPTION - Remove ALL underlines */
a.xiphias-glass-card-link,
a.xiphias-glass-card-link *,
a.xiphias-glass-card-link:hover,
a.xiphias-glass-card-link:hover *,
a.xiphias-glass-card-link:focus,
a.xiphias-glass-card-link:focus *,
a.xiphias-glass-card-link:active,
a.xiphias-glass-card-link:active *,
a.xiphias-glass-card-link:visited,
a.xiphias-glass-card-link:visited * {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Xiphias Glass Plus Button - ENHANCED FOR WHITE BG */
.xiphias-glass-plus-btn {
    position: absolute !important;
    top: 7px;
    right: 7px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Enhanced Liquid Glass Effect */
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* Stronger border with gradient */
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(226, 185, 35, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -1px 1px rgba(0, 0, 0, 0.05);
    border-radius: 50% !important;
    color: #1a1a1a !important;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    pointer-events: none;
}

    /* Shimmer effect on xiphias glass button */
    .xiphias-glass-plus-btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(to bottom right, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        transition: transform 0.6s;
    }

.xiphias-glass-card-link:hover .xiphias-glass-plus-btn::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.xiphias-glass-card-link:hover .xiphias-glass-plus-btn {
    background: rgba(8, 61, 89, 0.95) !important;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: rotate(45deg) scale(1.15);
    border-color: rgba(226, 185, 35, 0.6);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(226, 185, 35, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.xiphias-glass-plus-btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.xiphias-glass-card-link:hover .xiphias-glass-plus-btn i {
    transform: rotate(-45deg);
}

/* Xiphias Glass Button - ENHANCED */
.xiphias-glass-btn {
    background: linear-gradient(135deg, rgba(226, 185, 35, 0.9) 0%, rgba(226, 185, 35, 0.95) 100%) !important;
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50px !important;
    color: #fff !important;
    padding: 18px 36px !important;
    box-shadow: 0 8px 24px rgba(226, 185, 35, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

    .xiphias-glass-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .xiphias-glass-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .xiphias-glass-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(226, 185, 35, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
        color: #fff !important;
        background: linear-gradient(135deg, rgba(226, 185, 35, 1) 0%, rgba(8, 61, 89, 0.95) 100%) !important;
    }

    .xiphias-glass-btn i {
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .xiphias-glass-btn:hover i {
        transform: translateX(6px);
    }

/* Card Content Styling */
.xiphias-glass-card h5,
.xiphias-glass-card h6 {
    position: relative;
    z-index: 2;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.xiphias-glass-card p {
    position: relative;
    z-index: 2;
}

/* Card Body Padding */
.xiphias-glass-card .card-body {
    padding: 20px !important;
    position: relative;
    z-index: 2;
}

/* Enhanced Xiphias Glass for Images */
.xiphias-glass-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .about-xiptec {
        padding: 60px 0 20px;
    }

    .xiphias-glass-content-left {
        padding: 35px !important;
        border-radius: 28px;
        margin-bottom: 30px;
    }

    .xiphias-glass-card {
        margin-bottom: 20px !important;
    }

    .xiphias-glass-badge {
        padding: 10px 20px !important;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .about-xiptec {
        padding: 40px 0 20px;
    }

    .xiphias-glass-content-left {
        padding: 25px !important;
        border-radius: 24px;
    }

    .xiphias-glass-card {
        border-radius: 20px !important;
    }

        .xiphias-glass-card img {
            border-radius: 20px 20px 0 0 !important;
        }

    .xiphias-glass-btn {
        width: 100%;
        text-align: center;
        padding: 16px 32px !important;
    }

    .xiphias-glass-plus-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .xiphias-glass-badge {
        padding: 8px 18px !important;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .xiphias-glass-content-left {
        padding: 20px !important;
        border-radius: 20px;
    }

    .xiphias-glass-card {
        border-radius: 18px !important;
    }

        .xiphias-glass-card img {
            border-radius: 18px 18px 0 0 !important;
        }

    .xiphias-glass-btn {
        padding: 14px 28px !important;
        font-size: 15px;
    }

    .xiphias-glass-plus-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
        top: 5px;
        right: 5px;
    }
}

/* Additional Xiphias Glass Utilities */
.xiphias-glass-text-overlay {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-block;
}

.xiphias-glass-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(226, 185, 35, 0.3) 50%, transparent);
    margin: 30px 0;
}

/* Frosted Xiphias Glass Overlay for Dark Backgrounds */
.xiphias-glass-dark {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

    .xiphias-glass-dark:hover {
        background: rgba(0, 0, 0, 0.4) !important;
        border-color: rgba(226, 185, 35, 0.5) !important;
    }


/* ===========================
   SCROLL TO TOP BUTTON - XIPHIAS GLASS STYLE
   =========================== */

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Xiphias Glass Effect */
    background: rgba(226, 185, 35, 0.9);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(226, 185, 35, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px) scale(0.5);
    /* Remove default button styles */
    outline: none;
}

    /* Show button when scrolled */
    .scroll-to-top-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* Hover effect */
    .scroll-to-top-btn:hover {
        background: rgba(8, 61, 89, 0.95);
        border-color: rgba(226, 185, 35, 0.8);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 12px 32px rgba(226, 185, 35, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    /* Active/Click effect */
    .scroll-to-top-btn:active {
        transform: translateY(-2px) scale(1.05);
    }

/* Pulse animation when first appears */
@keyframes scrollBtnPulse {
    0% {
        box-shadow: 0 8px 24px rgba(226, 185, 35, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 12px 32px rgba(226, 185, 35, 0.6), 0 0 20px rgba(226, 185, 35, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    100% {
        box-shadow: 0 8px 24px rgba(226, 185, 35, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.scroll-to-top-btn.show {
    animation: scrollBtnPulse 2s ease-in-out 3;
}

/* Icon styling */
.scroll-to-top-btn i {
    transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover i {
    transform: translateY(-3px);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/*Inner Pages*/


/* ========================================
   Cookie Consent Banner - XIPHIAS Theme
   ======================================== */

/* Backdrop */
.cookie-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Desktop: Bottom aligned card */
.cookie-card {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    animation: bottomZoom 0.5s 0.2s forwards;
    overflow: hidden;
    opacity: 0;
}

@keyframes bottomZoom {
    to {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

.cookie-card-inner {
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

/* Header with Icon - STICKY */
.cookie-icon-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 20px 35px;
    border-radius: 16px 16px 0 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e2b923 0%, #c9a31f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(226, 185, 35, 0.3);
}

.cookie-title {
    font-size: 24px;
    font-weight: 700;
    color: #083d59;
}

/* Content wrapper for padding */
.cookie-content {
    padding: 0 35px 35px 35px;
}

/* Description and Actions Container - ONE ROW */
.cookie-description-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.cookie-description {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Quick Actions - Horizontal Layout */
.quick-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
}

.quick-btn {
    padding: 12px 24px;
    border: 2px solid #e2b923;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #083d59;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

    .quick-btn:hover {
        border-color: #e2b923;
        background: rgba(226, 185, 35, 0.1);
        color: #083d59;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(226, 185, 35, 0.3);
    }

    .quick-btn.primary {
        background: linear-gradient(135deg, #e2b923 0%, #c9a31f 100%);
        color: white;
        border-color: transparent;
    }

        .quick-btn.primary:hover {
            background: linear-gradient(135deg, #c9a31f 0%, #b08f1b 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(226, 185, 35, 0.4);
        }

/* Advanced Settings Toggle */
.advanced-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.toggle-link {
    color: #e2b923;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

    .toggle-link:hover {
        background: rgba(226, 185, 35, 0.1);
        color: #c9a31f;
    }

.arrow {
    transition: transform 0.3s;
    font-weight: bold;
}

    .arrow.rotate {
        transform: rotate(180deg);
    }

.select-all-link {
    color: #e2b923;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px 16px;
    transition: all 0.2s;
}

    .select-all-link:hover {
        color: #c9a31f;
    }

/* Advanced Settings Panel */
.advanced-settings {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .advanced-settings.expanded {
        max-height: 600px;
    }

.settings-grid {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}
/* Cookie Category Card */
.category-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

    .category-card:hover {
        border-color: rgba(226, 185, 35, 0.3);
        box-shadow: 0 4px 12px rgba(226, 185, 35, 0.1);
    }

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-name {
    font-weight: 700;
    font-size: 16px;
    color: #083d59;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    background: #e2b923;
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

    .badge.required {
        background: #083d59;
    }

/* Modern Toggle Switch */
.switch {
    position: relative;
    width: 52px;
    height: 28px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e0;
    border-radius: 34px;
    transition: 0.3s;
}

    .switch-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 3px;
        bottom: 3px;
        background: white;
        border-radius: 50%;
        transition: 0.3s;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

input:checked + .switch-slider {
    background: linear-gradient(135deg, #e2b923 0%, #c9a31f 100%);
}

    input:checked + .switch-slider:before {
        transform: translateX(24px);
    }

input:disabled + .switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.category-info {
    font-size: 13px;
    color: #718096;
    line-height: 1.6;
}

/* Footer Links */
.cookie-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

    .footer-navigation a {
        color: #4a5568;
        font-size: 13px;
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-navigation a:hover {
            color: #e2b923;
        }

.powered-text {
    font-size: 12px;
    color: #a0aec0;
}

/* Large Desktop */
@media only screen and (min-width: 1400px) {
    .cookie-card {
        max-width: 1400px;
    }
}

/* Desktop to Large Tablet */
@media only screen and (max-width: 1200px) {
    .cookie-description-actions {
        gap: 20px;
    }

    .cookie-description {
        font-size: 14px;
    }

    .quick-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Tablet - Stack Description & Actions */
@media only screen and (max-width: 991px) {
    .cookie-card {
        max-width: 95%;
    }

    .cookie-description-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .quick-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .quick-btn {
        flex: 1;
        min-width: 140px;
    }
}

/* Mobile: Full Stack */
@media only screen and (max-width: 768px) {
    .cookie-card {
        bottom: 0;
        left: 0;
        right: 0;
        top: 50%;
        width: 100%;
        max-width: none;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        animation: slideUpMobile 0.4s 0.2s forwards;
        opacity: 1;
    }

    @keyframes slideUpMobile {
        to {
            transform: translateY(0);
        }
    }

    .cookie-card-inner {
        max-height: 50vh;
    }

    .cookie-icon-header {
        padding: 20px;
        border-radius: 20px 20px 0 0;
    }

    .cookie-content {
        padding: 0 20px 25px 20px;
    }

    .cookie-title {
        font-size: 20px;
    }

    .cookie-description-actions {
        gap: 15px;
    }

    /* Stack buttons vertically on mobile */
    .quick-actions {
        flex-direction: column;
        gap: 10px;
    }

    .quick-btn {
        width: 100%;
        min-width: unset;
        padding: 14px;
    }

    .cookie-footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Footer navigation links side-by-side and centered */
    .footer-navigation {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    /* Ensure powered text is visible and centered */
    .powered-text {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .advanced-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .cookie-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .cookie-title {
        font-size: 18px;
    }

    .cookie-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .quick-btn {
        padding: 12px;
        font-size: 13px;
    }

    .footer-navigation {
        gap: 8px;
    }

        .footer-navigation a {
            font-size: 12px;
        }
}

/* Custom Scrollbar */
.cookie-card-inner::-webkit-scrollbar {
    width: 6px;
}

.cookie-card-inner::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cookie-card-inner::-webkit-scrollbar-thumb {
    background: rgba(226, 185, 35, 0.5);
    border-radius: 10px;
}

    .cookie-card-inner::-webkit-scrollbar-thumb:hover {
        background: #e2b923;
    }

/* ========================================
   END: Cookie Consent Banner
   ======================================== */
