/* =========================
CORPORATE HEALTHCARE UI
Elegant • Clean • Professional
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:#f4f7fb;
    overflow:hidden;
    color:#1e293b;
}

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-thumb{
    background:#cfd8e5;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:transparent;
}

/* =========================
MAIN LAYOUT
========================= */

.catalog-wrapper{
    width:100%;
    height:100vh;
    display:flex;
    overflow:hidden;
}

/* =========================
LEFT SIDEBAR
========================= */

.left-sidebar{
    width:285px;
    background:#ffffff;
    border-right:1px solid #e6edf5;
    padding:0px 0px 0;
    overflow-y:auto;
    flex-shrink:0;
    position:relative;
    display:flex;
    flex-direction:column;
}

/* LOGO */

.logo-area {
    margin-bottom: 0px;
    border-bottom: 1px solid #e7edf5;
    padding: 10px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    object-fit: contain;
}

.sidebar-logo-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0097b2, #1455c0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(11,61,145,0.22);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    font-weight: 800;
    color: #0b3d91;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.logo-area p{
    font-size:14px;
    color:#64748b;
}

/* =========================
MENU
========================= */

.nav-pills{
    gap:0px;
}

.nav-pills .nav-link {
    width: 100%;
    border-bottom: 1px solid #e7edf5;
    background: transparent;
    border-radius: 0;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    transition: 0.3s ease;
}

.nav-pills .nav-link i{
    margin-right:14px;
    font-size:18px;
}

.nav-pills .nav-link:hover{
    background:#f1f5f9;
    color:#0f172a;
}

.nav-pills .nav-link.active{
    background:#0097b2;
    color:#ffffff;
    box-shadow:
    0 10px 25px rgba(11,61,145,0.15);
}

/* =========================
RIGHT CONTENT
========================= */

.right-content {
    flex: 1;
    overflow-y: auto;
    height: 100vh;
    padding: 0;
}

/* =========================
TOPBAR
========================= */

.topbar {
    background: #ffffff;
    border-radius: 0;
    padding: 10px 28px;
    margin-bottom: 35px;
    border: 1px solid #e7edf5;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Topbar info row: contact items + search */
.topbar-info {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.topbar-contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e3a5f;
    white-space: nowrap;
}

.topbar-contact-item i {
    font-size: 15px;
    color: #0097b2;
    flex-shrink: 0;
}

.topbar-search {
    flex: 1;
    min-width: 180px;
    max-width: 320px;
    margin-left: auto;
}

.search-box{
    position:relative;
    width:100%;
}

/* SEARCH ICON */

.search-box i{
    position:absolute;
    left:22px;
    top:50%;
    transform:translateY(-50%);
    font-size:18px;
    color:#94a3b8;
    z-index:2;
    transition:0.3s ease;
}

/* INPUT FIELD */

.search-box input{
    width:100%;
    height:64px;
    border:none;
    outline:none;
    border-radius:22px;
    padding-left:58px;
    padding-right:70px;
    font-size:15px;
    font-weight:500;
    color:#0f172a;

    background:
    linear-gradient(180deg,#ffffff,#f8fbff);

    border:1px solid #e2e8f0;

    box-shadow:
    0 10px 30px rgba(15,23,42,0.04),
    inset 0 1px 2px rgba(255,255,255,0.8);

    transition:0.35s ease;
}

/* PLACEHOLDER */

.search-box input::placeholder{
    color:#94a3b8;
    font-weight:500;
}

/* FOCUS EFFECT */

.search-box input:focus{
    background:#ffffff;
    border-color:#93c5fd;

    box-shadow:
    0 0 0 5px rgba(37,99,235,0.08),
    0 15px 35px rgba(37,99,235,0.08);
}

/* ICON ACTIVE */

.search-box input:focus + .search-focus{
    opacity:1;
}

/* SEARCH ICON COLOR CHANGE */

.search-box input:focus ~ i{
    color:#0097b2;
}

/* SEARCH BUTTON */

.search-btn{
    position:absolute;
    right:10px;
    top:10px;
    width:44px;
    height:44px;
    border:none;
    border-radius:16px;

    background:
    linear-gradient(135deg,#0097b2,#0ea5e9);

    color:#fff;
    font-size:16px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:0.35s ease;

    box-shadow:
    0 10px 20px rgba(37,99,235,0.18);
}

/* BUTTON HOVER */

.search-btn:hover{
    transform:translateY(-2px) scale(1.04);

    box-shadow:
    0 14px 28px rgba(37,99,235,0.28);
}

/* GLOW EFFECT */

.search-focus{
    position:absolute;
    inset:0;
    border-radius:22px;
    pointer-events:none;
    opacity:0;
    transition:0.35s ease;

    background:
    linear-gradient(135deg,
    rgba(37,99,235,0.06),
    rgba(14,165,233,0.03));
}
@media(max-width:576px){

    .search-box input{
        height:58px;
        border-radius:18px;
        font-size:14px;
    }

    .search-btn{
        width:40px;
        height:40px;
        top:9px;
        right:9px;
    }

}

/* =========================
PRODUCT GRID
========================= */

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

/* =========================
PRODUCT CARD
========================= */

.product-card{
    background:#ffffff;
    border-radius:30px;
    overflow:hidden;
    border:1px solid #e7edf5;
    transition:0.4s ease;
    position:relative;
    box-shadow:
    0 8px 30px rgba(15,23,42,0.04);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:
    0 20px 45px rgba(15,23,42,0.08);
}

/* IMAGE AREA */

.product-img{
    background:
    linear-gradient(180deg,#f9fbfd,#eef4fb);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
}

/* SOFT CIRCLE */

.product-img::before{
    content:"";
    position:absolute;
    width:210px;
    height:210px;
    border-radius:50%;
    background:
    rgba(255,255,255,0.8);
    filter:blur(2px);
}

/* IMAGE */

.product-img img{
    width:100%;
    object-fit:cover;
    position:relative;
    z-index:2;
    transition:0.45s ease;
    max-height: 250px;
}

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

/* =========================
PRODUCT INFO
========================= */

.product-info{
    padding:24px;
}

.product-title{
    font-size:20px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:10px;
    letter-spacing:-0.5px;
}

.product-text{
    font-size:14px;
    line-height:1.7;
    color:#64748b;
    margin-bottom:20px;
}

/* PRICE */

.price{
    font-size:30px;
    font-weight:800;
    color:#0b3d91;
    letter-spacing:-1px;
}

/* BUTTON */

.btn-view{
    width:100%;
    border:none;
    border-radius:18px;
    background:
    linear-gradient(135deg,#0b3d91,#1455c0);
    color:#ffffff;
    padding:14px;
    margin-top:20px;
    font-size:15px;
    font-weight:700;
    transition:0.35s ease;
}

.btn-view:hover{
    transform:translateY(-2px);
    box-shadow:
    0 12px 24px rgba(11,61,145,0.18);
}

/* =========================
TAB
========================= */

.tab-pane {
    display: none;
    animation: fade 0.4s ease;
    padding: 0px 30px 50px;
}

.tab-pane.active{
    display:block;
}

@keyframes fade{

    from{
        opacity:0;
        transform:translateY(12px);
    }

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

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1400px){

    .product-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

/* =========================
NAV TOGGLE BUTTON
(hidden on desktop, shown on mobile)
========================= */

.nav-toggle-btn{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:44px;
    height:44px;
    border:none;
    border-radius:14px;
    background:#f1f5f9;
    cursor:pointer;
    padding:0;
    flex-shrink:0;
    transition:background 0.2s ease;
}

.nav-toggle-btn:hover{
    background:#e2e8f0;
}

.nav-toggle-btn span{
    display:block;
    width:22px;
    height:2px;
    background:#0f172a;
    border-radius:2px;
    transition:transform 0.3s ease, opacity 0.3s ease;
}

/* Animated X when open */
.nav-toggle-btn.open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}
.nav-toggle-btn.open span:nth-child(2){
    opacity:0;
}
.nav-toggle-btn.open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* =========================
SIDEBAR OVERLAY
========================= */

.sidebar-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(15,23,42,0.45);
    z-index:199;
    opacity:0;
    transition:opacity 0.3s ease;
}

.sidebar-overlay.active{
    opacity:1;
}

/* =========================
RESPONSIVE — SLIDE-OVER DRAWER
========================= */

@media(max-width:992px){

    body{
        overflow:auto;
    }

    .catalog-wrapper{
        flex-direction:column;
        height:auto;
    }

    /* Sidebar becomes fixed slide-over drawer */
    .left-sidebar{
        position:fixed;
        top:0;
        left:0;
        height:100%;
        width:280px;
        z-index:200;
        transform:translateX(-100%);
        transition:transform 0.32s cubic-bezier(.4,0,.2,1);
        border-right:1px solid #e6edf5;
        box-shadow:8px 0 32px rgba(15,23,42,0.12);
    }

    .left-sidebar.open{
        transform:translateX(0);
    }

    /* Overlay shown on mobile */
    .sidebar-overlay{
        display:block;
        pointer-events:none;
    }

    .sidebar-overlay.active{
        pointer-events:all;
    }

    /* Toggle button visible */
    .nav-toggle-btn{
        display:flex;
    }

    /* Topbar: toggle button + info wrap */
    .topbar{
        padding:10px 14px;
        gap:10px;
    }

    .topbar-info{
        gap:6px 12px;
    }

    .topbar-contact-item{
        font-size:12px;
    }

    .topbar-search{
        max-width:100%;
    }

    .right-content{
        height:auto;
    }

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

}

@media(max-width:576px){

    .right-content{
        padding:18px;
    }

    .topbar-contact-item span{
        font-size:11.5px;
    }

    .product-grid{
        grid-template-columns:1fr;
    }

    .product-card{
        border-radius:10px;
    }

    .product-img{
        height:220px;
    }

}


/* =========================================================
CONTACT SECTION
========================================================= */

.contact-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:30px;
    align-items:start;
}

/* =========================================================
LEFT INFO
========================================================= */

.contact-info{
    background:
    linear-gradient(180deg,#0b1220,#13213c);
    border-radius:30px;
    padding:35px;
    color:#fff;
    position:relative;
    overflow:hidden;
}

/* GLOW */

.contact-info::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:50%;
    background:
    radial-gradient(circle,
    rgba(59,130,246,0.28),
    transparent 70%);
    top:-120px;
    right:-80px;
}

/* BADGE */

.contact-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:
    rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:50px;
    padding:10px 18px;
    font-size:14px;
    margin-bottom:24px;
}

.contact-badge i{
    color:#38bdf8;
}

/* TITLE */

.contact-info h2{
    font-size:38px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:18px;
}

.contact-info p{
    color:rgba(255,255,255,0.72);
    line-height:1.8;
    font-size:15px;
}

/* CONTACT CARD */

.contact-card{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin-top:28px;
    padding:18px;
    border-radius:22px;
    background:
    rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.06);
}

.contact-icon{
    width:54px;
    height:54px;
    border-radius:18px;
    background:
    linear-gradient(135deg,#0097b2,#0ea5e9);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    flex-shrink:0;
}

.contact-text h4{
    margin:0;
    font-size:16px;
    font-weight:700;
}

.contact-text p{
    margin-top:5px;
    font-size:14px;
}

/* =========================================================
RIGHT FORM
========================================================= */

.contact-form-box{
    background:#fff;
    border-radius:30px;
    padding:35px;
    border:1px solid #e5edf6;
    box-shadow:
    0 10px 40px rgba(15,23,42,0.05);
}

/* FORM HEADER */

.form-header{
    margin-bottom:28px;
}

.form-header h3{
    font-size:32px;
    font-weight:800;
    color:#0f172a;
    margin-bottom:10px;
}

.form-header p{
    color:#64748b;
    font-size:15px;
}

/* FORM GROUP */

.form-group label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:#334155;
    margin-bottom:10px;
}

/* INPUT */

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:none;
    outline:none;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:18px;
    padding:16px 18px;
    font-size:15px;
    color:#0f172a;
    transition:0.35s ease;
}

/* TEXTAREA */

.form-group textarea{
    resize:none;
}

/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    background:#fff;
    border-color:#93c5fd;
    box-shadow:
    0 0 0 5px rgba(37,99,235,0.08);
}

/* BUTTON */

.contact-btn{
    border:none;
    background:
    linear-gradient(135deg,#0097b2,#0ea5e9);
    color:#fff;
    height:60px;
    padding:0 34px;
    border-radius:20px;
    font-size:16px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:12px;
    transition:0.35s ease;
    box-shadow:
    0 14px 28px rgba(37,99,235,0.18);
}

.contact-btn:hover{
    transform:translateY(-3px);
    box-shadow:
    0 18px 35px rgba(37,99,235,0.28);
}

/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .contact-wrapper{
        grid-template-columns:1fr;
    }

}

@media(max-width:576px){

    .contact-info,
    .contact-form-box{
        padding:24px;
        border-radius:24px;
    }

    .contact-info h2{
        font-size:30px;
    }

    .form-header h3{
        font-size:26px;
    }

    .contact-btn{
        width:100%;
        justify-content:center;
    }

}

/* =========================
SUBMENU
========================= */

.nav-item-group{
    display:flex;
    flex-direction:column;
}

/* Arrow icon inside parent button */
.nav-link .submenu-arrow{
    margin-left:auto;
    font-size:13px;
    transition:transform 0.3s ease;
    margin-right:0;
}

.nav-item-group.submenu-open .submenu-arrow{
    transform:rotate(180deg);
}

/* Collapsible submenu container */
.submenu{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.35s cubic-bezier(.4,0,.2,1);
    background:#f8fafc;
    border-left:3px solid #0b3d91;
}

.nav-item-group.submenu-open .submenu{
    max-height:400px;
}

/* Submenu links */
.submenu .nav-link{
    padding:14px 20px 14px 32px;
    font-size:14px;
    font-weight:500;
    color:#64748b;
    border-bottom:1px solid #eef2f7;
    border-radius:0;
}

.submenu .nav-link i{
    font-size:15px;
    margin-right:10px;
}

.submenu .nav-link:hover{
    background:#eff6ff;
    color:#0b3d91;
}

.submenu .nav-link.active{
    background:#e0eaff;
    color:#0b3d91;
    box-shadow:none;
}

/* Surgical parent open state — subtle highlight, no full active blue */
.nav-item-group.submenu-open > .has-submenu{
    background:#eff6ff;
    color:#0b3d91;
}

/* Prevent .has-submenu from getting the full active blue style */
.nav-pills .nav-link.has-submenu.active{
    background:transparent;
    color:#475569;
    box-shadow:none;
}

.nav-item-group.submenu-open > .has-submenu,
.nav-pills .nav-link.has-submenu:hover{
    background:#f1f5f9;
    color:#0f172a;
    box-shadow:none;
}

/* =========================
TAB HEADER
========================= */

.tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 5px 0px;
    border-bottom: 2px solid #e7edf5;
    border-top: 2px solid #e7edf5;
}

/* TITLE */

.tab-title h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #0f172a;
}

.tab-title h2 i{
    width:45px;
    height:45px;
    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
    linear-gradient(135deg,#0097b2,#0ea5e9);

    color:#fff;
    font-size:24px;

    box-shadow:
    0 14px 28px rgba(37,99,235,0.18);
}

.tab-title p{
    margin-top:10px;
    margin-left:72px;

    color:#64748b;
    font-size:15px;
}

/* PRODUCT COUNT */

.tab-count span{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:130px;
    height:54px;

    padding:0 24px;

    border-radius:18px;

    background:
    linear-gradient(135deg,#eff6ff,#dbeafe);

    color:#0097b2;

    font-size:15px;
    font-weight:700;

    border:1px solid #bfdbfe;
}

/* RESPONSIVE */

@media(max-width:768px){

    .tab-header{
        flex-direction:column;
        align-items:flex-start;
        padding:10px;
    }

    .tab-title h2{
        font-size:22px;
    }

    .tab-title h2 i{
        width:50px;
        height:50px;
        font-size:20px;
    }

    .tab-title p{
        margin-left:0;
    }
    .tab-pane {
    padding: 0px 0px 50px;
}

}

/* =========================================
LIGHTBOX
========================================= */

.custom-lightbox{

    position:fixed;

    inset:0;

    background:
    rgba(15,23,42,0.92);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:99999;

    opacity:0;
    visibility:hidden;

    transition:
    opacity .4s ease,
    visibility .4s ease;
}

.custom-lightbox.active{
    opacity:1;
    visibility:visible;
}

.custom-lightbox img{

    max-width:85%;
    max-height:85vh;

    border-radius:24px;

    background:#fff;

    padding:10px;

    transform:scale(.8);

    transition:.4s ease;
}

.custom-lightbox.active img{
    transform:scale(1);
}

/* CLOSE */

.lightbox-close{

    position:absolute;

    top:30px;
    right:35px;

    width:55px;
    height:55px;

    border-radius:18px;

    background:
    rgba(255,255,255,0.1);

    backdrop-filter:blur(10px);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    transition:.3s ease;
}

.lightbox-close:hover{

    background:#fff;

    color:#0f172a;

    transform:rotate(90deg);
}

/* =========================================
RESPONSIVE
========================================= */

/* @media(max-width:1400px){

    .product-grid{
        grid-template-columns:repeat(3,1fr);
    }

} */

/* =========================
GET QUOTE BUTTON — always visible at image bottom
========================= */

.btn-get-quote {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    border: none;
    border-radius: 0 0 0 0;
    background: linear-gradient(135deg, #0097b2, #44b2c7);
    color: #fff;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    width: 100%;
    letter-spacing: 0.3px;
    transition: background 0.25s ease;
    box-shadow: 0 -2px 10px rgba(11,61,145,0.10);
}

.btn-get-quote i {
    font-size: 15px;
}

.btn-get-quote:hover {
    background: linear-gradient(135deg, #0097b2, #43a0b3);
}

/* Ensure product-img has enough bottom padding for the button */
.product-img {
    padding-bottom: 42px;
}

/* =========================
SIDEBAR DOCTOR IMAGE
========================= */

.sidebar-doctor {
    margin-top: auto;
    padding: 18px 0px 0;
    text-align: center;
}

.sidebar-doctor-img {
    width: 100%;
    max-width: 280px;
    border-radius: 0;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* =========================
DENTAL ICON FIX
========================= */

.nav-pills .nav-link i.dental-icon {
    font-size: 18px;
    margin-right: 14px;
    color: inherit;
}
/* =========================================================
GET QUOTE POPUP
========================================================= */

.quote-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 45, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.quote-modal {
    background: #fff;
    border-radius: 28px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px rgba(10,20,45,0.22);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}

.quote-overlay.active .quote-modal {
    transform: scale(1) translateY(0);
}

.quote-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: rgba(15,23,42,0.07);
    color: #334155;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.25s ease;
}

.quote-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.quote-modal-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    min-height: 520px;
}

/* LEFT ACCENT PANEL */

.quote-accent {
    background: linear-gradient(160deg, #0b3d91 0%, #1e63d0 60%, #0ea5e9 100%);
    border-radius: 28px 0 0 28px;
    padding: 44px 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-accent-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.quote-accent h3 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.quote-accent p {
    font-size: 14px;
    line-height: 1.75;
    opacity: 0.82;
    margin-bottom: 32px;
}

.quote-accent-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0.92;
}

.quote-feature i {
    font-size: 16px;
    color: #7dd3fc;
    flex-shrink: 0;
}

/* RIGHT FORM PANEL */

.quote-form-panel {
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
}

.quote-form-header {
    margin-bottom: 24px;
}

.quote-form-header h4 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 5px;
    letter-spacing: -0.4px;
}

.quote-form-header p {
    font-size: 13.5px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

.quote-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.quote-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-field label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.quote-input-wrap i {
    position: absolute;
    left: 14px;
    font-size: 15px;
    color: #94a3b8;
    z-index: 2;
    pointer-events: none;
}

.quote-input-wrap input,
.quote-input-wrap textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 14px 11px 40px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.quote-input-wrap textarea {
    resize: none;
    padding-top: 11px;
    line-height: 1.6;
}

.quote-textarea-wrap {
    align-items: flex-start;
}

.quote-textarea-wrap i {
    top: 13px;
}

.quote-input-wrap input:focus,
.quote-input-wrap textarea:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.10);
}

.quote-input-wrap input::placeholder,
.quote-input-wrap textarea::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

.quote-submit-btn {
    margin-top: 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b3d91, #1455c0);
    color: #fff;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s ease;
    box-shadow: 0 10px 24px rgba(11,61,145,0.22);
    letter-spacing: 0.2px;
}

.quote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(11,61,145,0.30);
}

.quote-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    color: #16a34a;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
}

.quote-success i {
    font-size: 18px;
    flex-shrink: 0;
}

/* RESPONSIVE */

@media (max-width: 720px) {
    .quote-modal-inner {
        grid-template-columns: 1fr;
    }
    .quote-accent {
        border-radius: 28px 28px 0 0;
        padding: 30px 24px;
    }
    .quote-form-panel {
        padding: 28px 22px 28px;
    }
    .quote-field-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PRODUCT HOVER OVERLAY — title shown on image hover
   ========================================================= */
 
.product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* stops above the Get Quote button */
    bottom: 42px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 45%,
        rgba(10, 22, 55, 0.72) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 0 14px 14px;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 5;
}
 
.product-card:hover .product-hover-overlay {
    opacity: 1;
}
 
.product-hover-title {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.35;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateY(4px);
    transition: transform 0.28s ease;
}
 
.product-card:hover .product-hover-title {
    transform: translateY(0);
}


/* =========================================================
   BLOG GRID & CARDS -- 27-05-2026
   ========================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 28px 32px 40px;
}

@media (max-width: 1200px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .blog-grid { grid-template-columns: 1fr; padding: 20px 16px 32px; } }

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,0.07);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.13);
}

.blog-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #049bc0, #0ba2db);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.blog-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.blog-meta i {
    font-size: 12px;
    color: #cbd5e1;
}

.blog-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.blog-read-btn {
    border: none;
    background: #f1f5f9;
    color: #0b3d91;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 0.22s ease, color 0.22s ease;
    align-self: flex-start;
}

.blog-read-btn i { font-size: 15px; }

.blog-card:hover .blog-read-btn,
.blog-read-btn:hover {
    background: linear-gradient(135deg, #0097b2, #268597);
    color: #fff;
}

/* =========================================================
   BLOG DETAIL MODAL
   ========================================================= */

.blog-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 50, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999998;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
}

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

.blog-modal {
    background: #fff;
    border-radius: 26px;
    width: 100%;
    max-width: 820px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(10,20,50,0.28);
    transform: scale(0.93) translateY(24px);
    transition: transform 0.38s cubic-bezier(.34,1.56,.64,1);
    margin: auto;
}

.blog-modal-overlay.active .blog-modal {
    transform: scale(1) translateY(0);
}

.blog-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    color: #1e293b;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.blog-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.blog-modal-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.blog-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,50,0.85) 0%, rgba(10,20,50,0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 36px;
}

.blog-modal-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0b3d91, #1455c0);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

.blog-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin: 0 0 10px;
}

.blog-modal-meta {
    font-size: 12.5px;
    color: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-weight: 500;
}

.blog-modal-meta i { font-size: 12px; opacity: 0.8; }

.blog-modal-content {
    padding: 36px 40px 44px;
    color: #334155;
    font-size: 15px;
    line-height: 1.85;
}

.blog-modal-content p {
    margin-bottom: 18px;
    color: #475569;
}

.blog-modal-content h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 28px 0 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: -0.2px;
}

.blog-modal-content h3 i {
    color: #1455c0;
    font-size: 18px;
}

.blog-modal-content ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.blog-modal-content ul li {
    padding: 12px 16px 12px 18px;
    background: #f8fafc;
    border-left: 3px solid #1455c0;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
}

.blog-modal-content ul li strong {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 600px) {
    .blog-modal-hero { height: 220px; }
    .blog-modal-hero-overlay { padding: 20px 20px; }
    .blog-modal-title { font-size: 18px; }
    .blog-modal-content { padding: 24px 20px 32px; }
}
