/* Premium water-blue theme */
:root {
    --premium-deep: #0A2540;
    --premium-ocean: #0D3B66;
    --premium-aqua: #4ECDC4;
    --premium-teal: #2D9CDB;
    --premium-gold: #D4A853;
    --premium-offwhite: #F8FAFC;
    --premium-charcoal: #1A365D;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--premium-offwhite);
    color: var(--premium-charcoal);
}

h1, h2, h3 {
    font-weight: bold;
}

/* Do not style all .navbar — breaks transparent header; BluMents nav uses #mainNavbar */



/* Premium footer — water-blue theme */
.footer-premium {
    position: relative;
    background: linear-gradient(180deg, #0A2540 0%, #0D3B66 50%, #0A2540 100%);
    padding: 0;
    overflow: hidden;
}
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F8FAFC' d='M0 80V40c120-20 240-40 360-40s240 20 360 40 240 40 360 40 240-20 360-40 240-40 360-40 240 20 360 40v40H0z'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 80px;
    pointer-events: none;
}
.footer-content {
    padding: 100px 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}
.footer-logo-img {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }
.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.footer-social-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: 8px;
}
.footer-social-link {
    color: var(--premium-aqua);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-social-link:hover { color: #fff; }
.footer-social-sep { color: rgba(255,255,255,0.3); margin: 0 6px; }
.footer-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-story {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s, transform 0.2s;
}
.footer-link:hover {
    color: var(--premium-aqua);
    transform: translateX(4px);
}
.footer-contact {
    display: block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.footer-contact:hover { color: var(--premium-aqua); }
.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin-top: 0.75rem;
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    margin: 0;
}

.footer {
    padding: 1rem 0;
}

.btn-custom {
    background-color: #28a745;
    color: white;
}

.btn-custom:hover {
    background-color: #218838;
}


/* HERO CAROUSEL PRO STYLE */

.hero-carousel {
    height:100vh;
}

.hero-carousel .carousel-item {
    height:100vh;
    position:relative;
    overflow:hidden;
}

.hero-bg {
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    transform:scale(1);
    transition:transform 8s ease;
}

.carousel-item.active .hero-bg {
    transform:scale(1.08); /* PREMIUM ZOOM EFFECT */
}

.hero-overlay {
    position:absolute;
    width:100%;
    height:100%;
    background: linear-gradient(
        105deg,
        rgba(10, 37, 64, 0.75) 0%,
        rgba(13, 59, 102, 0.5) 35%,
        rgba(45, 156, 219, 0.25) 70%,
        rgba(0,0,0,0.15) 100%
    );
}

.hero-content {
    position:relative;
    z-index:2;
    color:white;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* Floating Build Button */
.build-btn-hero {
    position:absolute;
    right:40px;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    border-radius:1.5rem 0.5rem 0.5rem 1.5rem;
    font-weight:600;
}

/* Smooth Text Animation */
@keyframes fadeUp {
    from {
        opacity:0;
        transform:translateY(30px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}


.hero-carousel,
.hero-carousel .carousel-item{
    height:100vh;
}

.hero-bg{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    transform:scale(1);
    transition:transform 8s ease;
}

.carousel-item.active .hero-bg{
    transform:scale(1.08);
}

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background: linear-gradient(
        105deg,
        rgba(10, 37, 64, 0.75) 0%,
        rgba(13, 59, 102, 0.5) 35%,
        rgba(45, 156, 219, 0.25) 70%,
        rgba(0,0,0,0.15) 100%
    );
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
}

.hero-text{
    max-width:720px;
    color:#fff;
    margin-top: 0;
}

.hero-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    animation: fadeUp 1s ease;
}

.hero-subtitle{
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    margin-top: 1rem;
    opacity: 0.95;
    text-shadow: 0 1px 12px rgba(0,0,0,0.15);
    animation: fadeUp 1.2s ease 0.15s both;
}

.hero-discover-btn{
    display: inline-block;
    padding: 14px 32px;
    margin-top: 1.75rem;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    border: none;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-discover-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 205, 196, 0.5);
    color: #fff !important;
    text-decoration: none !important;
}


/* Navbar over hero: subtle frosted glass; solid white when .scrolled */
#mainNavbar.transparent-navbar,
.transparent-navbar {
    background: rgba(10, 37, 64, 0.25) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
    z-index: 1050;
}

/* Keep row visible: collapse must not shrink to 0 width (common flex bug) */
#mainNavbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
}
#mainNavbar .navbar-brand {
    flex-shrink: 0;
}
/* ---- Bluements nav: no Bootstrap collapse (menus always visible desktop) ---- */
.bluements-nav-root {
    width: 100%;
    left: 0;
    right: 0;
}
.bluements-nav-container {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
.bluements-menu {
    display: flex !important;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2.5vw, 2rem);
}
/* Primary links: equal space between every item */
.bluements-menu-nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: clamp(0.75rem, 1.8vw, 1.35rem);
    flex: 0 1 auto;
    min-width: 0;
}
.bluements-menu-nav .nav-item {
    list-style: none;
    flex: 0 0 auto;
}
/* Search + Admin Login: fixed group, aligned on one baseline */
.bluements-menu-actions {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 0 0 auto;
    flex-shrink: 0;
}
.bluements-search-wrap {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 40px;
}
.bluements-menu-list .nav-item {
    list-style: none;
}
.bluements-burger {
    width: 44px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    background: rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}
.bluements-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
}
.transparent-navbar.scrolled .bluements-burger span {
    background: #333;
}
.transparent-navbar.scrolled .bluements-burger {
    border-color: rgba(0,0,0,0.2);
    background: #f5f5f5;
}
@media (max-width: 1199px) {
    /* Slightly tighter desktop: allow wrap so bar doesn’t overflow */
    .bluements-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 0.5rem;
    }
    .bluements-menu-nav {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}
@media (max-width: 991px) {
    .bluements-burger {
        display: flex !important;
    }
    .bluements-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 16px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
        z-index: 1060;
    }
    .bluements-menu.is-open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }
    .bluements-menu-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        flex: none;
        gap: 0;
    }
    .bluements-menu-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid #eee;
        gap: 12px;
    }
    .bluements-menu-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .bluements-menu .nav-custom {
        color: #111 !important;
        padding: 12px 0 !important;
    }
    .bluements-menu .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 12px;
        margin-bottom: 8px;
    }
    .bluements-menu .nav-admin-btn {
        justify-content: center;
        text-align: center;
    }
}

/* Logo */
.logo-text{
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.logo-tag{
    font-size: 0.8rem;
    color: #fff;
}

/* Nav Links */
.nav-custom{
    color: #fff !important;
    margin: 0 18px;
    font-weight: 500;
    position: relative;
}
/* Even-spacing row: no extra horizontal margin (gap on parent) */
.nav-custom--even {
    margin: 0 !important;
    padding: 0.5rem 0.35rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Active underline — premium aqua */
.nav-custom::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--premium-aqua);
    transition: 0.3s ease;
}

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

/* Search Icon */
.nav-search-icon{
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

/* Admin Login — premium ocean blue */
.nav-admin-btn{
    background: linear-gradient(135deg, var(--premium-ocean) 0%, var(--premium-deep) 100%);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    text-decoration: none !important;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(10, 37, 64, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.transparent-navbar.scrolled .nav-admin-btn{
    background: linear-gradient(135deg, var(--premium-ocean) 0%, var(--premium-deep) 100%);
    color: #fff !important;
}

.nav-admin-btn:hover{
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.3);
    color: #fff !important;
}
.transparent-navbar.scrolled .nav-admin-btn:hover{
    color: #fff !important;
}

/* Legacy phone button — keep for any old markup */
.nav-phone-btn{
    background: #00226C;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.transparent-navbar.scrolled .nav-phone-btn{
    background: rgba(255,255,255,0.95);
    color: #00226C;
    border: 1px solid rgba(0, 34, 108, 0.2);
}
.nav-phone-btn:hover{ text-decoration: none; filter: brightness(1.08); }
.phone-icon{ width: 18px; }

.logo-img img{
    height: 30px;
}


/* Fancy Dropdown Container */

.dropdown-custom{
    position: relative;
}

/* Dropdown Card */

.dropdown-menu-custom {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    min-width: 190px;
}

/* Arrow Pointer */
.dropdown-menu-custom::before{
    content:'';
    position:absolute;
    top:-10px;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
    width:20px;
    height:20px;
    background:#fff;
}

/* Links inside dropdown */

.dropdown-menu-custom a{
    display:block;
    padding:5px 0;
    color:#555;
    font-weight:500;
    text-decoration:none;
    font-size: 14px;
}

.dropdown-menu-custom a:hover{
    color:#000;
}

/* Show on Hover */

.dropdown-custom:hover .dropdown-menu-custom{
    opacity:1;
    visibility:visible;
    transform: translateX(-50%) translateY(0);
}

.about-us-sec h2{
    font-size: 30px;
    font-weight: 600;
    letter-spacing:3px;
}

.about-us-sec p{
    font-size:14px;
}

.footer-premium .footer-heading { font-size: 1.25rem; }

/* Premium solid nav when scrolled */
.transparent-navbar.scrolled{
    background: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}

/* TEXT COLOR CHANGE */
.transparent-navbar.scrolled .nav-custom{
    color: #000 !important;
}

/* LOGO COLOR CHANGE */
.logo-main{
    color: #fff;
    transition: 0.3s;
}

.transparent-navbar.scrolled .logo-main{
    color: var(--premium-deep);
}

/* TAGLINE COLOR */
.logo-tag{
    color:#fff;
}

.transparent-navbar.scrolled .logo-tag{
    color:#555;
}

/* SEARCH ICON COLOR CHANGE */
.transparent-navbar.scrolled .nav-search-icon{
    filter:none;
}


.logo{
    height:50px;
    transition:0.3s ease;
}

/* Default: show white logo */
.logo-dark{
    display:none;
}

/* When scrolled: show dark logo */
.transparent-navbar.scrolled .logo-light{
    display:none;
}

.transparent-navbar.scrolled .logo-dark{
    display:block;
}

/* ========== HOME: PREMIUM PRODUCTS SECTION ========== */
.home-products-section{
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}
.home-products-bg{
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #0A2540 0%, #0D3B66 40%, #0A2540 100%);
}
.home-products-bg::before{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
/* Home — corporate intro (deck-style narrative below hero) */
.home-corporate-intro .home-section-badge{
    background: rgba(10, 37, 64, 0.08);
    color: var(--premium-teal);
}
.home-corporate-columns{
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 992px){
    .home-corporate-columns{
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}
.home-corporate-block-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 12px 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-corporate-block p{
    color: #475569;
    line-height: 1.75;
    font-size: 1.02rem;
}

/* ——— Below-banner split (text left, 2×2 grid right, cyan-glow cards) ——— */
.home-below-banner-split{
    background: linear-gradient(180deg, #f5f9fd 0%, #e8f2f9 50%, #dfeef7 100%);
    border-top: 1px solid rgba(45, 156, 219, 0.14);
    border-bottom: 1px solid rgba(45, 156, 219, 0.14);
}
.home-bbs-text-col{
    position: relative;
    background: linear-gradient(180deg, #f5f9fd 0%, #e3f0f9 55%, #d4e8f5 100%);
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
    overflow: hidden;
}
.home-bbs-text-col::before{
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 156, 219, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 156, 219, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.home-bbs-text-col > *{
    position: relative;
    z-index: 1;
}
.home-bbs-main-title{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.75rem, 3.6vw, 2.65rem);
    font-weight: 800;
    color: #0c4a6e;
    letter-spacing: -0.03em;
    margin: 0 0 1.1rem 0;
    line-height: 1.12;
}
.home-bbs-lead{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.85rem 0;
    line-height: 1.5;
    max-width: 32rem;
}
.home-bbs-body{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: #334155;
    margin: 0;
    line-height: 1.7;
    max-width: 34rem;
}
.home-bbs-grid-wrap{
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    padding: 14px;
    min-height: 320px;
    background-color: #040d16;
    background-image: linear-gradient(
        180deg,
        #0a2540 0%,
        #071f36 38%,
        #051018 72%,
        #040d16 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow:
        inset 0 1px 0 rgba(87, 193, 232, 0.18),
        0 12px 40px rgba(0, 0, 0, 0.25);
}
@media (min-width: 992px){
    .home-bbs-grid-wrap{
        min-height: 400px;
        padding: 16px;
    }
}
.home-bbs-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(140px, 1fr) minmax(140px, 1fr);
    gap: 10px;
    min-height: 280px;
    position: relative;
    z-index: 1;
}
@media (min-width: 992px){
    .home-bbs-grid{
        min-height: 360px;
        gap: 12px;
    }
}
.home-bbs-cell{
    min-height: 140px;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
}
.home-bbs-grid-wrap .home-bbs-cell{
    background: transparent;
}
.home-bbs-cell--img img{
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    display: block;
}
.home-bbs-cell--feature{
    padding: 0;
    background: transparent;
    display: flex;
    align-items: stretch;
}
.home-eng-card.home-eng-card--in-grid{
    width: 100%;
    flex: 1;
    min-height: 200px;
    min-width: 0;
    border-radius: 15px;
    background: rgba(2, 26, 46, 0.72);
    border: 1.5px solid #57c1e8;
    box-shadow:
        0 0 0 1px rgba(87, 193, 232, 0.12) inset,
        0 0 22px rgba(87, 193, 232, 0.42),
        0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.home-eng-card.home-eng-card--in-grid:hover{
    box-shadow:
        0 0 0 1px rgba(87, 193, 232, 0.2) inset,
        0 0 32px rgba(87, 193, 232, 0.48),
        0 12px 36px rgba(0, 0, 0, 0.55);
}
.home-eng-card--in-grid .home-eng-card-icon{
    width: clamp(2rem, 5.2vw + 0.35rem, 2.85rem);
    height: clamp(2rem, 5.2vw + 0.35rem, 2.85rem);
    margin-bottom: 0.75rem;
    color: #57c1e8;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 0 2px rgba(87, 193, 232, 0.75))
        drop-shadow(0 0 10px rgba(87, 193, 232, 0.28));
}
.home-eng-card--in-grid .home-eng-card-icon--globe{
    width: clamp(2.2rem, 5.6vw + 0.35rem, 3.1rem);
    height: clamp(2.2rem, 5.6vw + 0.35rem, 3.1rem);
}
.home-eng-card--in-grid .home-eng-card-title{
    font-size: 0.98rem;
    color: #57c1e8;
}
.home-eng-card--in-grid .home-eng-card-sub{
    font-size: 0.85rem;
    color: #ffffff;
}
@media (min-width: 992px){
    .home-eng-card.home-eng-card--in-grid{
        min-height: 220px;
    }
}
.home-bbs-cell--water{
    border-radius: 15px;
    border: 1px solid rgba(87, 193, 232, 0.4);
    box-shadow:
        0 0 18px rgba(87, 193, 232, 0.22) inset,
        0 0 12px rgba(87, 193, 232, 0.12);
    background:
        radial-gradient(ellipse 85% 65% at 45% 25%, rgba(87, 193, 232, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 55% 40% at 15% 80%, rgba(45, 156, 219, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 45% at 85% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 45%),
        linear-gradient(168deg, #053454 0%, #021a2e 42%, #011018 100%);
    position: relative;
}
.home-bbs-cell--water::after{
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0 50 Q25 40 50 50 T100 50 V100 H0z'/%3E%3C/svg%3E") repeat;
    background-size: 120px 60px;
    opacity: 0.85;
    pointer-events: none;
}

/* ——— Our Expertise (four cards; live home + deck preview) ——— */
.deck-our-expertise{
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f5f9fd 0%, #e8f2f9 50%, #e2f0f8 100%);
    border-top: 1px solid rgba(45, 156, 219, 0.14);
    border-bottom: 1px solid rgba(45, 156, 219, 0.14);
}
.deck-our-expertise::before{
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 156, 219, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 156, 219, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    opacity: 0.9;
}
.deck-our-expertise-inner{
    position: relative;
    z-index: 1;
}
/* Home page only: Cormorant section title + Inter body copy (see .home-expertise-font-scope on /) */
.home-expertise-font-scope .deck-our-expertise-inner .deck-our-expertise-heading.home-bbs-main-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.home-expertise-font-scope .deck-our-expertise-card-title{
    font-family: 'Inter', -apple-system, sans-serif;
}
.home-expertise-font-scope .deck-our-expertise-card-body{
    font-family: 'Inter', -apple-system, sans-serif;
}
.deck-our-expertise-heading{
    margin-bottom: 2.25rem;
}
.deck-our-expertise-our{
    position: relative;
    display: inline-block;
}
.deck-our-expertise-our::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--premium-teal), var(--premium-aqua));
    border-radius: 2px;
}
.deck-our-expertise-card{
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.15rem 1.35rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.deck-our-expertise-card:hover{
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.45);
    box-shadow:
        0 12px 36px rgba(10, 37, 64, 0.1),
        0 0 0 1px rgba(45, 156, 219, 0.14),
        0 0 24px rgba(45, 156, 219, 0.12);
}
.deck-our-expertise-icon-wrap{
    width: clamp(4rem, 10vw, 5.25rem);
    height: clamp(4rem, 10vw, 5.25rem);
    margin: 0 auto 1.1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 156, 219, 0.22);
    background: linear-gradient(165deg, #f0f7fc 0%, #e3f0f9 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.deck-our-expertise-icon{
    width: clamp(2.35rem, 6.5vw, 3.25rem);
    height: clamp(2.35rem, 6.5vw, 3.25rem);
    object-fit: contain;
    display: block;
}
.deck-our-expertise-card-title{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--premium-deep);
    margin: 0 0 0.6rem 0;
    line-height: 1.25;
}
.deck-our-expertise-card-body{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #334155;
    margin: 0;
    line-height: 1.6;
}
@media (min-width: 992px){
    .deck-our-expertise-card{
        padding: 1.65rem 1.25rem 1.5rem;
    }
}

/* ——— Engineering Excellence (below hero, deck slide layout) ——— */
.home-engineering-excellence{
    position: relative;
}
.home-eng-upper{
    position: relative;
    background: linear-gradient(180deg, #f5f9fd 0%, #e3f0f9 55%, #d4e8f5 100%);
    padding: 3rem 0 2.5rem;
    overflow: hidden;
}
.home-eng-bg-grid{
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 156, 219, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 156, 219, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.home-eng-upper-inner{
    z-index: 1;
}
.home-eng-title{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    font-weight: 700;
    color: var(--premium-deep);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.65rem;
    position: relative;
}
.home-eng-title::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--premium-teal), var(--premium-aqua));
    border-radius: 2px;
}
.home-eng-lead{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--premium-deep);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    max-width: 38rem;
}
.home-eng-copy{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.7;
    margin: 0;
    max-width: 40rem;
}
.home-eng-brand{
    display: inline-block;
    text-align: right;
}
.home-eng-logo{
    display: block;
    margin-left: auto;
    max-height: 52px;
    width: auto;
    object-fit: contain;
}
.home-eng-tagline{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--premium-teal);
    margin: 0.75rem 0 0 0;
}
.home-eng-lower{
    position: relative;
    background-size: cover, cover;
    background-position: center top, center center;
    background-repeat: no-repeat, no-repeat;
    padding: 0 0 3.5rem;
}
.home-eng-wave-top{
    height: 36px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23d4e8f5' d='M0 24c180 28 360-18 720 8s540-20 720 6v10H0z'/%3E%3C/svg%3E") center top no-repeat;
    background-size: 100% 100%;
    margin-top: -1px;
    opacity: 0.9;
}
.home-eng-lower-inner{
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}
.home-eng-cards{
    margin-top: 0;
}
.home-eng-card{
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 14px;
    background: rgba(8, 28, 48, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(78, 205, 196, 0.45);
    box-shadow:
        0 0 0 1px rgba(78, 205, 196, 0.12) inset,
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(45, 156, 219, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-eng-card:hover{
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(78, 205, 196, 0.2) inset,
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 36px rgba(78, 205, 196, 0.22);
}
.home-eng-card-icon{
    width: clamp(2.4rem, 5.8vw + 0.5rem, 3.35rem);
    height: clamp(2.4rem, 5.8vw + 0.5rem, 3.35rem);
    color: var(--premium-aqua);
    margin-bottom: 1rem;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 0 2px rgba(78, 205, 196, 0.7))
        drop-shadow(0 0 10px rgba(45, 156, 219, 0.25));
}
.home-eng-card-icon--globe{
    width: clamp(2.65rem, 6.2vw + 0.5rem, 3.55rem);
    height: clamp(2.65rem, 6.2vw + 0.5rem, 3.55rem);
}
.home-eng-card-title{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #7dd9f0;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}
.home-eng-card-sub{
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.45;
}
@media (max-width: 991px){
    .home-eng-brand{
        text-align: left;
    }
    .home-eng-logo{
        margin-left: 0;
    }
}

/* Preview banner — /home-deck-preview */
.home-deck-preview-banner{
    background: linear-gradient(135deg, var(--premium-deep) 0%, #0f3557 100%);
    color: #fff;
    border-bottom: 3px solid var(--premium-aqua);
}
.home-deck-preview-banner .btn-outline-light{
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.home-deck-preview-banner .btn-outline-light:hover{
    background: #fff;
    color: var(--premium-deep);
}

/* Deck slide 2 — image cluster + story */
.home-deck-slide2{
    background: linear-gradient(180deg, #f8fafc 0%, #fff 45%);
}
.home-deck-kicker{
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--premium-teal);
    margin-bottom: 14px;
}
.home-deck-slide2-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 600;
    color: var(--premium-deep);
    line-height: 1.2;
    margin: 0 0 12px 0;
}
.home-deck-slide2-title-accent{
    color: var(--premium-teal);
}
.home-deck-slide2-subtitle{
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--premium-charcoal);
    margin: 24px 0 12px 0;
}
.home-deck-slide2-lead{
    font-size: 1.12rem;
    color: var(--premium-deep);
    line-height: 1.65;
    margin-bottom: 16px;
}
.home-deck-slide2-body{
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0;
    max-width: 34em;
}
.home-deck-slide2-media{
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
.home-deck-slide2-photo-wrap{
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(10, 37, 64, 0.18);
}
.home-deck-slide2-photo{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
.home-deck-slide2-accent{
    position: absolute;
    width: 42%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    right: -6%;
    bottom: -8%;
    z-index: 1;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 40px rgba(10, 37, 64, 0.22);
    border: 4px solid #fff;
}
@media (max-width: 991px){
    .home-deck-slide2-accent{
        display: none;
    }
}

/* Deck slide 3 — dark band + dual cards */
.home-deck-slide3{
    background: linear-gradient(165deg, var(--premium-ocean) 0%, var(--premium-deep) 55%, #061a2e 100%);
    color: rgba(255,255,255,0.92);
}
.home-deck-kicker--on-dark{
    color: var(--premium-aqua);
}
.home-deck-slide3-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.25;
}
.home-deck-slide3-lead{
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.95);
    margin-bottom: 14px;
}
.home-deck-slide3-body{
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.home-deck-slide3-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-deck-slide3-list li{
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.88);
}
.home-deck-slide3-list li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--premium-aqua);
    box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.35);
}
.home-deck-slide3-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 767px){
    .home-deck-slide3-grid{
        grid-template-columns: 1fr;
    }
}
.home-deck-slide3-card{
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.home-deck-slide3-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.home-deck-slide3-card figcaption{
    padding: 14px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.95);
    background: rgba(0,0,0,0.15);
}
.py-lg-6{
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}
@media (min-width: 992px){
    .py-lg-6{
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

.home-products-inner{ position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.home-section-header{ text-align: center; margin-bottom: 48px; }
.home-section-badge{
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    color: var(--premium-aqua);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border-radius: 100px;
    margin-bottom: 16px;
}
.home-section-badge--light{
    background: rgba(10, 37, 64, 0.08);
    color: var(--premium-teal);
}
.home-section-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: 0.04em;
}
.home-section-title--dark{ color: var(--premium-deep); }
.home-section-subtitle{
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}
.home-section-subtitle--dark{ color: #64748b; }
.home-products-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
@media (max-width: 991px){
    .home-products-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px){
    .home-products-grid{ grid-template-columns: 1fr; gap: 16px; }
}
.home-product-card{
    position: relative;
    display: block;
    min-height: 280px;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (max-width: 575px){
    .home-product-card{ height: 260px; min-height: 220px; }
}
.home-product-card:hover{
    transform: translateY(-8px);
}
.home-product-card-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 37, 64, 0.85) 100%);
    transition: background 0.4s ease;
}
.home-product-card:hover .home-product-card-overlay{
    background: linear-gradient(180deg, rgba(78, 205, 196, 0.15) 0%, rgba(10, 37, 64, 0.92) 100%);
}
.home-product-card-content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    color: #fff;
    z-index: 2;
}
.home-product-card-content h3{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    letter-spacing: 0.03em;
}
.home-product-card-cta{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--premium-aqua);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}
.home-product-card-cta::after{
    content: '→';
}
.home-product-card:hover .home-product-card-cta{
    opacity: 1;
    transform: translateY(0);
}
.home-products-footer{ text-align: center; }
.home-section-cta{
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.home-section-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 205, 196, 0.45);
    color: #fff !important;
}
.home-section-cta--outline{
    background: transparent;
    color: var(--premium-ocean) !important;
    border: 2px solid var(--premium-teal);
    box-shadow: none;
}
.home-section-cta--outline:hover{
    background: rgba(45, 156, 219, 0.08);
    color: var(--premium-deep) !important;
}

/* ========== HOME: PREMIUM SERVICES SECTION ========== */
.home-services-section{
    padding: 100px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}
.home-services-inner{ max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.home-services-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
@media (max-width: 767px){
    .home-services-grid{ grid-template-columns: 1fr; }
}
.home-service-card{
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.home-service-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.12);
}
.home-service-card-image{
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}
.home-service-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.home-service-card:hover .home-service-card-image img{
    transform: scale(1.05);
}
.home-service-card-body{ padding: 32px 28px; flex: 1; }
.home-service-card-body h3{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 12px 0;
    letter-spacing: 0.04em;
}
.home-service-card-body p{
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 20px 0;
}
.home-service-card-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--premium-teal);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}
.home-service-card-link::after{ content: '→'; }
.home-service-card-link:hover{ color: var(--premium-ocean); gap: 12px; }
.home-services-footer{ text-align: center; }

/* Legacy products-section (other pages) */
.products-section{ background:#0b0720; padding:60px 0; }
.products-wrapper{ display:flex; width:100%; height:450px; }
.product-panel{
    flex-grow:1; flex-basis:0; min-width:0;
    position:relative;
    background-size:cover; background-position:center;
    overflow:hidden;
    transition:flex-grow 0.6s cubic-bezier(.4,0,.2,1);
}
.product-panel::before{
    content:''; position:absolute; inset:0;
    background:rgba(0,0,0,0.4);
    pointer-events:none;
}
.products-wrapper:hover .product-panel{ flex-grow:1; }
.product-panel:hover{ flex-grow:4; }
.product-content{ position:absolute; bottom:40px; left:30px; color:#fff; z-index:2; }
.know-btn{
    margin-top:15px; display:inline-block;
    padding:10px 25px; border:2px solid #fff; border-radius:30px;
    color:#fff; opacity:0; transform:translateY(15px); transition:0.4s;
}
.product-panel:hover .know-btn{ opacity:1; transform:translateY(0); }

.nav-search-icon{
    width:22px;
    height:22px;
    transition:0.3s ease;
}

/* default (transparent navbar) */
.search-dark{
    display:none;
}

/* when navbar scrolled */
.transparent-navbar.scrolled .search-light{
    display:none;
}

.transparent-navbar.scrolled .search-dark{
    display:inline-block;
}

/* SEARCH CONTAINER */
.search-box{
    position:relative;
    display:flex;
    align-items:center;
}
.search-toggle{
    background:none;
    border:none;
    padding:4px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}
.search-toggle:hover{ opacity:0.9; }

/* INPUT (hidden initially) */
.search-input{
    width:0;
    opacity:0;
    padding:8px 0;
    border:none;
    outline:none;
    border-bottom:2px solid #fff;
    background:transparent;
    color:#fff;
    transition:0.4s ease;
    margin-right:10px;
}

/* OPEN STATE */
.search-box.active .search-input{
    width:160px;
    min-width:120px;
    opacity:1;
    padding:8px 10px;
}

/* When navbar becomes white */
.transparent-navbar.scrolled .search-input{
    border-bottom:2px solid #000;
    color:#000;
}

/* ========== PREMIUM PAGE HERO (About, Enquiry, Products, Services) ========== */
.product-hero{
    min-height: 320px;
    padding: 120px 15px 60px;
    box-sizing: border-box;
    background: linear-gradient(165deg, #0A2540 0%, #0D3B66 50%, #0A2540 100%);
    background-image: url('/bluements/assets/InnerBanner.png'), linear-gradient(165deg, #0A2540 0%, #0D3B66 100%);
    background-size: cover, 100% 100%;
    background-position: center right, center;
    background-blend-mode: overlay, normal;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-hero::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10, 37, 64, 0.85) 0%, rgba(13, 59, 102, 0.6) 50%, rgba(10, 37, 64, 0.4) 100%);
}
.product-hero-content{
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}
.product-hero-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #fff;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 8px 0;
    animation: heroFadeUp 0.9s ease forwards;
}
.product-hero-sub{
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.8);
    margin: 0;
    animation: heroFadeUp 1s ease 0.1s both;
}
@keyframes heroFadeUp{
    from{ opacity: 0; transform: translateY(20px); }
    to{ opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px){
    .product-hero{ min-height: 260px; padding: 100px 15px 48px; }
}
@media (max-width: 575px){
    .product-hero{ min-height: 220px; padding: 90px 12px 40px; }
    .product-hero-title{ font-size: 1.75rem; }
}

/* ========== PREMIUM PAGE SECTIONS ========== */
.page-section-premium{
    padding: 60px 0;
}
@media (max-width: 767px){
    .page-section-premium{ padding: 40px 0; }
}
@media (max-width: 575px){
    .page-section-premium{ padding: 32px 0; }
    .page-section-inner{ padding: 0 12px; }
}
.page-section-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.page-section-header{
    text-align: center;
    margin-bottom: 40px;
}
.page-section-badge{
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 37, 64, 0.08);
    color: var(--premium-teal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-radius: 100px;
    margin-bottom: 12px;
}
.page-section-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 8px 0;
    letter-spacing: 0.03em;
}
.page-section-subtitle{
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Premium cards (products, services, about pillars) */
.page-card-premium{
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.page-card-premium:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.1);
}
.page-card-premium .card-body{
    padding: 24px;
}
.page-card-premium .card-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin-bottom: 8px;
}
.page-card-premium .card-text{
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}
.page-cta-premium{
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.page-cta-premium:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 205, 196, 0.45);
    color: #fff !important;
}
.page-cta-premium--outline{
    background: transparent;
    color: var(--premium-ocean) !important;
    border: 2px solid var(--premium-teal);
    box-shadow: none;
}
.page-cta-premium--outline:hover{
    background: rgba(45, 156, 219, 0.08);
    color: var(--premium-deep) !important;
}

/* Premium service card (Services page) */
.page-service-card-premium{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}
.page-service-card-premium:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.12);
}
.page-service-card-image{
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}
.page-service-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.page-service-card-premium:hover .page-service-card-image img{
    transform: scale(1.05);
}
.page-service-card-body{ padding: 28px; }
.page-service-card-body h3{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 12px 0;
    letter-spacing: 0.04em;
}
.page-service-card-body p{
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 20px 0;
}
.page-service-card-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--premium-teal);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}
.page-service-card-link::after{ content: '→'; }
.page-service-card-link:hover{ color: var(--premium-ocean); gap: 12px; }

/* About page — BLUments photo + content */
.about-bluments-photo{
    max-width: 100%;
    width: 320px;
    height: 320px;
    object-fit: cover;
    box-shadow: 0 20px 56px rgba(10, 37, 64, 0.15);
    border-radius: 16px;
}
.about-bluments-content p{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

/* About page — flip cards (History, Present, Future) */
.about-flip-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 991px){
    .about-flip-cards{ grid-template-columns: 1fr; }
}
.about-flip-card{
    perspective: 1000px;
    min-height: 320px;
    cursor: pointer;
}
.about-flip-card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.about-flip-card:hover .about-flip-card-inner,
.about-flip-card .about-flip-card-inner.flipped{
    transform: rotateY(180deg);
}
.about-flip-card-front,
.about-flip-card-back{
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 320px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    padding: 32px 28px;
    box-sizing: border-box;
}
.about-flip-card-front{
    background: linear-gradient(165deg, var(--premium-ocean) 0%, var(--premium-deep) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.2);
}
.about-flip-icon{
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.95;
}
.about-flip-card-front h3{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.03em;
}
.about-flip-hint{
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
}
.about-flip-card-back{
    background: #fff;
    color: var(--premium-charcoal);
    transform: rotateY(180deg);
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.12);
}
.about-flip-card-back h3{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--premium-aqua);
}
.about-flip-card-back p{
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    white-space: pre-line;
}

/* About — Find us map section */
.about-map-wrap{
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 32px;
}
.about-map-card{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 24px;
    border: 1px solid #e2e8f0;
}
.about-map-card-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--premium-charcoal);
    margin: 0 0 12px 0;
}
.about-map-card-address{
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 20px 0;
}
.about-map-card-actions{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.about-map-card-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--premium-teal);
    border: 1px solid var(--premium-teal);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.about-map-card-btn:hover{
    background: rgba(45, 156, 219, 0.08);
}
.about-map-card-btn--primary{
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff !important;
    border-color: transparent;
}
.about-map-card-btn--primary:hover{
    opacity: 0.95;
}
.about-map-embed{
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
.about-map-embed iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px){
    .about-map-wrap{
        grid-template-columns: 1fr;
    }
    .about-map-embed{ height: 320px; }
}

/* Premium enquiry form (page) */
.page-enquiry-form{
    max-width: 560px;
    margin: 0 auto;
}
.page-enquiry-form .form-group{
    margin-bottom: 20px;
}
.page-enquiry-form label{
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--premium-charcoal);
    margin-bottom: 8px;
}
.page-enquiry-form .form-control,
.page-enquiry-form input,
.page-enquiry-form textarea{
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.page-enquiry-form input:focus,
.page-enquiry-form textarea:focus{
    outline: none;
    border-color: var(--premium-teal);
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.15);
}
.page-enquiry-form .btn-submit-premium{
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.page-enquiry-form .btn-submit-premium:hover:not(:disabled){
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 205, 196, 0.45);
}
.page-enquiry-form .btn-submit-premium:disabled{ opacity: 0.7; cursor: not-allowed; }
.page-enquiry-success{
    text-align: center;
    padding: 48px 24px;
}
.page-enquiry-success-icon{
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-enquiry-success h3{ font-size: 1.25rem; color: var(--premium-deep); margin-bottom: 8px; }
.page-enquiry-success p{ color: #64748b; margin-bottom: 24px; }

/* Breadcrumb */
.product-breadcrumb{
    padding: 12px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.Breadcrumb{
    font-size: 0.85rem;
    color: #64748b;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.Breadcrumb a{ color: var(--premium-teal); text-decoration: none; }
.Breadcrumb a:hover{ color: var(--premium-ocean); text-decoration: underline; }

/* Category filter pills */
.page-category-btn{
    display: inline-block;
    padding: 8px 18px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.page-category-btn:hover{
    background: #e2e8f0;
    color: var(--premium-deep);
}
.page-category-btn.active{
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff;
}

/* Product category table (Bechem-style) */
.product-category-header{
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.product-category-header-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 12px 0;
}
.product-category-header-desc{
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
    max-width: 800px;
}
.product-table-wrap{
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
    background: #fff;
}
.product-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.product-table-th{
    text-align: left;
    padding: 18px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--premium-deep);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #e2e8f0;
}
.product-table-th-image{ width: 180px; }
.product-table-th-desc{ min-width: 280px; }
.product-table-th-action{ width: 140px; text-align: center; }
.product-table-row{
    transition: background 0.2s;
}
.product-table-row:hover{
    background: rgba(78, 205, 196, 0.04);
}
.product-table-cell{
    padding: 20px 24px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.product-table-cell:last-child{
    border-bottom-color: #f1f5f9;
}
.product-table-cell-image{
    width: 180px;
}
.product-table-image-wrap{
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}
.product-table-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-table-no-image{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #94a3b8;
}
.product-table-carousel{
    width: 100%;
    height: 100%;
}
.product-table-carousel .carousel-inner,
.product-table-carousel .carousel-item{
    height: 100%;
}
.product-table-carousel .carousel-control-prev,
.product-table-carousel .carousel-control-next{
    width: 28px;
    height: 28px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
}
.product-table-carousel .carousel-control-prev{ left: 4px; }
.product-table-carousel .carousel-control-next{ right: 4px; }
.product-table-carousel .carousel-control-prev-icon,
.product-table-carousel .carousel-control-next-icon{
    width: 12px;
    height: 12px;
}
.product-table-name{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 8px 0;
}
.product-table-short{
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 8px 0;
}
.product-table-price{
    font-size: 1rem;
    font-weight: 600;
    color: var(--premium-ocean);
    margin: 0;
}
.product-table-cell-action{
    text-align: center;
    vertical-align: middle;
    padding: 0;
}
.product-table-cell-action .product-table-link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    min-height: 50px;
    height: 100%;
    /* padding: 20px 24px; */
    box-sizing: border-box;
}
.product-table-link{
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 2px 12px rgba(78, 205, 196, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-table-link:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(78, 205, 196, 0.4);
    color: #fff !important;
}
@media (max-width: 767px){
    .product-table-th,
    .product-table-cell{
        padding: 14px 16px;
    }
    .product-table-image-wrap{
        width: 100px;
        height: 100px;
    }
    .product-table-th-image{ width: 120px; }
}

/* Prefab static page — Bechem-style layout */
.prefab-static-page{ background: #fff; }
.prefab-hero-block{
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}
.prefab-hero-img{
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.12);
}
.prefab-section{
    margin-bottom: 40px;
}
.prefab-section-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 20px 0;
    letter-spacing: 0.02em;
}
.prefab-intro{
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 16px 0;
}
.prefab-body{
    font-size: 1rem;
    line-height: 1.75;
    color: #64748b;
    margin: 0 0 16px 0;
}
.prefab-body:last-child{ margin-bottom: 0; }
.prefab-list-block{ margin-top: 24px; }
.prefab-list-item{
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.prefab-list-item:last-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.prefab-list-item h4{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--premium-ocean);
    margin: 0 0 8px 0;
}
.prefab-list-item p{
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}
.prefab-bullet-list{
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.prefab-bullet-list li{
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
}
.prefab-bullet-list li::before{
    content: '●';
    position: absolute;
    left: 0;
    color: var(--premium-teal);
    font-size: 0.7rem;
}
.prefab-section-highlight{
    background: linear-gradient(180deg, rgba(78, 205, 196, 0.06) 0%, transparent 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}
.prefab-lead{
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--premium-deep);
}

.product-detail-section{
    padding: 48px 0;
    background: #fff;
}
@media (max-width: 767px){
    .product-detail-section{ padding: 32px 0; }
}
.product-detail-title{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--premium-deep);
    margin-bottom: 24px;
}
@media (max-width: 575px){
    .product-detail-section .page-card-premium .bg-light{ height: 180px !important; }
}

.product-detail-img{
    max-width:175px;
}

.product-detail-text{
    font-size:16px;
    line-height:1.8;
    color:#333;
    margin-bottom:25px;
}

.product-subheading{
    font-weight:600;
    letter-spacing:2px;
    margin:30px 0 15px;
}

.product-feature-list{
    padding-left:20px;
}

.product-feature-list li{
    margin-bottom:12px;
    font-size:15px;
    line-height:1.6;
}

.products-discover{
    background:#f3f3f3;
    padding:40px 0;
}

/* Title */
.discover-title{
    text-align:center;
    font-size:2rem;
    font-weight:600;
    letter-spacing:6px;
    margin-bottom:60px;
}

/* Items */
.discover-item{
    position:relative;
    padding:20px;
    transition:0.3s ease;
}

.discover-img{
    height:175px;
    margin-bottom:20px;
    transition:0.4s ease;
}

.discover-item h4{
    letter-spacing:3px;
    font-weight:600;
}

/* Vertical divider */
.vertical-divider{
    position:absolute;
    height:150px;
    width:1px;
    background:#ccc;
    left:50%;
    transform:translateX(-50%);
}

/* Hover effect */
.discover-item:hover .discover-img{
    transform:translateY(-8px) scale(1.03);
}

.get-quote-btn{
    background:#00226C;
    color:#fff;
    border-radius:30px;
    padding:10px 25px;
    transition:0.3s;
}

.get-quote-btn:hover{
    background:#000;
     color:#fff;
}

.product-search-wrapper{
    display:flex;
    justify-content:center;
    padding:40px 0;
}

/* MAIN SEARCH BAR */

.product-search-bar{
    position:relative;
    width:600px;
    max-width:90%;
}

/* INPUT */

.product-search-input{
    width:100%;
    padding:10px 30px;
    border-radius:50px;
    border:1.5px solid #999;
    outline:none;
    font-size:16px;
    background:#fff;
    transition:0.3s;
}

.product-search-input:focus{
    border-color:#00226C;
}

/* BUTTON */

.product-search-btn{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:transparent;
    cursor:pointer;
}

.product-search-btn img{
    width:26px;
    height:26px;
}
/* OVERLAY */

.enquiry-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(6px);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:0.4s;
    z-index:9999;
}

.enquiry-overlay.active{
    opacity:1;
    visibility:visible;
}

/* MODAL */

.enquiry-modal{
    background:#fff;
    width:500px;
    max-width:90%;
    padding:40px;
    border-radius:20px;
    transform:translateY(30px);
    transition:0.4s;
}

.enquiry-overlay.active .enquiry-modal{
    transform:translateY(0);
}

/* HEADER */

.enquiry-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.enquiry-header h3{
    margin:0;
    font-weight:600;
}

.enquiry-close{
    font-size:24px;
    cursor:pointer;
}

/* FLOATING LABELS */

.form-group-fancy{
    position:relative;
    margin-bottom:25px;
}

.form-group-fancy input,
.form-group-fancy textarea{
    width:100%;
    padding:12px 10px;
    border:none;
    border-bottom:1px solid #ccc;
    outline:none;
    font-size:15px;
    background:transparent;
}

.form-group-fancy label{
    position:absolute;
    left:10px;
    top:12px;
    font-size:14px;
    color:#888;
    transition:0.3s;
    pointer-events:none;
}

.form-group-fancy input:focus + label,
.form-group-fancy input:not(:placeholder-shown) + label,
.form-group-fancy textarea:focus + label,
.form-group-fancy textarea:not(:placeholder-shown) + label{
    top:-8px;
    font-size:12px;
    color:#00226C;
}

/* SUBMIT BUTTON */

.enquiry-submit-btn{
    width:100%;
    padding:12px;
    background:#00226C;
    color:#fff;
    border:none;
    border-radius:30px;
    transition:0.3s;
}

.enquiry-submit-btn:hover{
    background:#000;
}

.btn-outline-dark {
    color: #343a40;
    border-color: #343a40;
    font-size: 14px !important;
}

/* PREMIUM FLOATING BUTTON — small, edge-aligned, expands on hover */
.build-pool-floating{
    position:fixed;
    right:0;
    top:50%;
    transform:translateY(-50%);
    z-index:999;
}
.build-pool-btn-premium{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 28px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    border:none;
    border-radius:12px 0 0 12px;
    color:#fff !important;
    font-weight:600;
    font-size:0.95rem;
    letter-spacing:0.04em;
    cursor:pointer;
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.4), 0 0 0 1px rgba(255,255,255,0.2) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-radius 0.3s ease;
    animation: buildPoolFloat 4s ease-in-out infinite;
}
/* Edge-aligned: small collapsed state */
.build-pool-btn-edge{
    padding:12px 14px;
    padding-right:10px;
    gap:0;
    border-radius:12px 0 0 12px;
}
.build-pool-btn-edge .build-pool-btn-text{
    max-width:0;
    overflow:hidden;
    opacity:0;
    margin-left:0;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}
.build-pool-btn-edge:hover{
    animation: none;
    gap:12px;
    padding:16px 28px;
    padding-right:24px;
}
.build-pool-btn-edge:hover .build-pool-btn-text{
    max-width:200px;
    opacity:1;
}
.build-pool-btn-premium:hover{
    animation: none;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(78, 205, 196, 0.5), 0 0 0 1px rgba(255,255,255,0.3) inset;
}
.build-pool-btn-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:36px;
    height:36px;
    background:rgba(255,255,255,0.2);
    border-radius:10px;
}
.build-pool-btn-edge .build-pool-btn-icon{
    width:32px;
    height:32px;
}
.build-pool-btn-edge:hover .build-pool-btn-icon{
    width:36px;
    height:36px;
}
.build-pool-btn-icon img,
.build-pool-btn-icon svg{ filter: brightness(0) invert(1); }
.build-pool-btn-text{ white-space: nowrap; }
@keyframes buildPoolFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Legacy build-pool-btn (fallback) */
.build-pool-btn{
    text-decoration:none;
    color:inherit;
    border:none;
    cursor:pointer;
    align-items:center;
}

/* PREMIUM BUILD POOL OVERLAY */
.build-pool-overlay-premium{
    position:fixed;
    inset:0;
    background:rgba(10, 37, 64, 0.6);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
    z-index:9999;
}
.build-pool-overlay-premium.active{
    opacity:1;
    visibility:visible;
}
.build-pool-overlay-premium.active .build-pool-modal-premium{
    transform: scale(1);
    opacity: 1;
}

/* PREMIUM MODAL */
.build-pool-modal-premium{
    position:relative;
    background:#fff;
    width:480px;
    max-width:94vw;
    max-height:90vh;
    overflow-y:auto;
    border-radius:24px;
    box-shadow: 0 32px 64px rgba(10, 37, 64, 0.2), 0 0 0 1px rgba(255,255,255,0.5) inset;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}
.build-pool-close-premium{
    position:absolute;
    top:20px;
    right:20px;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(10, 37, 64, 0.06);
    border:none;
    border-radius:50%;
    font-size:24px;
    color:var(--premium-charcoal);
    cursor:pointer;
    transition: background 0.2s, transform 0.2s;
    z-index:2;
}
.build-pool-close-premium:hover{
    background:rgba(10, 37, 64, 0.12);
    transform: rotate(90deg);
}
.build-pool-modal-inner{ padding: 48px 40px 40px; }
.build-pool-header-premium{ margin-bottom: 32px; }
.build-pool-badge{
    display:inline-block;
    padding:6px 14px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(45, 156, 219, 0.2) 100%);
    color:var(--premium-ocean);
    font-size:0.75rem;
    font-weight:600;
    letter-spacing:0.12em;
    border-radius:100px;
    margin-bottom:16px;
}
.build-pool-title-premium{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--premium-deep);
    margin: 0 0 8px 0;
    letter-spacing: 0.02em;
}
.build-pool-subtitle{
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}
.build-pool-success{
    text-align: center;
    padding: 32px 0;
}
.build-pool-success-icon{
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: buildPoolSuccessPop 0.5s ease;
}
@keyframes buildPoolSuccessPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.build-pool-success h3{ font-size: 1.25rem; margin-bottom: 8px; color: var(--premium-deep); }
.build-pool-success p{ color: #64748b; margin: 0; }
.build-pool-form-premium{ margin-top: 0; }
.build-pool-steps{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.build-pool-steps span{
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #94a3b8;
}
.build-pool-steps span.active{
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    color: #fff;
}
.build-pool-steps span.done{
    background: var(--premium-aqua);
    color: #fff;
}
.build-pool-step-divider{
    width: 24px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: #e2e8f0 !important;
}
.build-pool-field-group{ margin-bottom: 20px; }
.build-pool-field-group label{
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--premium-charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.build-pool-dimensions{
    display: flex;
    align-items: center;
    gap: 8px;
}
.build-pool-select{
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--premium-charcoal);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.build-pool-select:focus{
    outline: none;
    border-color: var(--premium-teal);
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.15);
}
.build-pool-dim-sep{ color: #94a3b8; font-weight: 600; }
.build-pool-textarea{
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.build-pool-textarea:focus{
    outline: none;
    border-color: var(--premium-teal);
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.15);
}
.build-pool-input{
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.build-pool-input:last-of-type{ margin-bottom: 0; }
.build-pool-input:focus{
    outline: none;
    border-color: var(--premium-teal);
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.15);
}
.build-pool-summary{
    padding: 14px 16px;
    background: rgba(78, 205, 196, 0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--premium-ocean);
    margin-bottom: 20px;
}
.build-pool-summary-sep{ margin: 0 8px; color: #94a3b8; }
.build-pool-err{ color: #dc2626; font-size: 0.85rem; margin: 0 0 12px 0; }
.build-pool-submit-premium{
    width: 100%;
    padding: 16px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--premium-aqua) 0%, var(--premium-teal) 100%);
    border: none;
    border-radius: 12px;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.build-pool-submit-premium:hover:not(:disabled){
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 205, 196, 0.45);
}
.build-pool-submit-premium:disabled{ opacity: 0.7; cursor: not-allowed; }
.build-pool-actions{
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.build-pool-back-btn{
    flex: 1;
    padding: 14px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: var(--premium-charcoal);
    cursor: pointer;
    transition: background 0.2s;
}
.build-pool-back-btn:hover{ background: #e2e8f0; }
.build-pool-actions .build-pool-submit-premium{ flex: 2; margin-top: 0; }

/* Legacy build-pool (fallback) */
.build-pool-overlay{ position:fixed; inset:0; display:flex; justify-content:center; align-items:center; z-index:9999; }
.build-pool-modal{ background:#fff; border-radius:20px; }
.build-pool-header{ display:flex; justify-content:space-between; align-items:center; }
.build-close{ font-size:24px; cursor:pointer; }
.build-pool-modal select, .build-pool-modal textarea{ width:100%; padding:10px; border-radius:8px; }
.build-submit-btn{ padding:12px; background:#00226C; color:#fff; border:none; border-radius:30px; }

/* Next.js: mobile toggler */
.transparent-navbar.scrolled .navbar-toggler { border-color: rgba(0,0,0,0.15); }
.transparent-navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.build-pool-btn:hover { text-decoration: none; color: inherit; }

.transparent-navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(255,255,255,0.55);
}
.transparent-navbar:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}