/**
 * index.aspx — Premium visual layer
 * Scoped strictly to: .page-home
 */

.page-home {
    --hp-accent: #dc3545;
    --hp-accent-2: #ff6b6b;
    --hp-accent-rgb: 220, 53, 69;
    --hp-blue: #0b5cab;
    --hp-deep: #1a252f;
    --hp-slate: #2c3e50;
    --hp-slate-mid: #34495e;
    --hp-ink: #1a1d24;
    --hp-muted: #5c6570;
    --hp-soft: #f6f8fc;
    --hp-line: rgba(26, 29, 36, 0.08);
    --hp-radius-lg: 22px;
    --hp-radius-md: 14px;
    --hp-radius-sm: 10px;
    --hp-elev-1: 0 12px 28px rgba(15, 18, 28, 0.08);
    --hp-elev-2: 0 22px 56px rgba(15, 18, 28, 0.18);
}

/* ============================================================
   1) SLIDER — frame the existing skitter slider
   ============================================================ */
.page-home main {
    background: linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
    padding-bottom: 1rem;
}

.page-home .skitter,
.page-home .skitter-large {
    border-radius: 0 0 var(--hp-radius-lg) var(--hp-radius-lg) !important;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 18, 28, 0.15);
    position: relative;
}

.page-home .skitter::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
    pointer-events: none;
    z-index: 5;
}

/* ============================================================
   2) Main content wrapper
   ============================================================ */
.page-home > .container-fluid {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 70%, #f1f4fa 100%);
    padding: 1rem 0 3rem !important;
}

.page-home > .container-fluid > .row {
    max-width: 1320px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Advertising sidebar */
.page-home .Advertising {
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-md);
    box-shadow: var(--hp-elev-1);
    overflow: hidden;
    padding: 0.5rem;
    margin: 1rem 0;
}

.page-home .Advertising .carousel-item img {
    border-radius: 10px;
    width: 100% !important;
    height: auto;
    display: block;
}

@media (min-width: 992px) {
    .page-home > .container-fluid > .row > .col-lg-2 {
        position: sticky;
        top: 90px;
    }
}

/* ============================================================
   3) Feature row (.groubIcons) — 3 hero cards
   ============================================================ */
.page-home .groubIcons {
    padding: 2.25rem 0 1rem;
}

.page-home .groubIcons .container {
    max-width: 1180px;
}

.page-home .groubIcons .row {
    gap: 1rem 0;
}

.page-home .groubIcons .col-lg-4 {
    padding: 0 0.6rem;
}

.page-home .groubIcons .icon {
    position: relative;
    background: #fff !important;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg) !important;
    box-shadow: var(--hp-elev-1);
    padding: 1.75rem 1.5rem 1.5rem !important;
    height: 100%;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    margin: 0 !important;
    text-align: center;
}

.page-home .groubIcons .icon::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--hp-accent-rgb), 0.85), #ffffffaa, rgba(var(--hp-accent-rgb), 0.85), transparent);
}

.page-home .groubIcons .icon:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(var(--hp-accent-rgb), 0.3),
        0 24px 48px rgba(var(--hp-accent-rgb), 0.16) !important;
    border-color: rgba(var(--hp-accent-rgb), 0.3);
    border-radius: var(--hp-radius-lg) !important;
}

.page-home .groubIcons .iconImage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--hp-accent-rgb), 0.1), rgba(var(--hp-accent-rgb), 0.02));
    border: 1px solid rgba(var(--hp-accent-rgb), 0.18);
    margin: 0 auto 1rem !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .groubIcons .icon:hover .iconImage {
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(var(--hp-accent-rgb), 0.22);
}

.page-home .groubIcons .iconImage img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
}

.page-home .groubIcons .icon h4 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--hp-ink) !important;
    letter-spacing: -0.01em;
    margin: 0 0 0.45rem !important;
}

.page-home .groubIcons .icon p {
    font-size: 0.9rem !important;
    color: var(--hp-muted) !important;
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   4) Section title before "Most Sellers"
   ============================================================ */
.page-home .col-lg-10 > .owl-carousel.owl-theme {
    margin-top: 2rem;
    position: relative;
}

.page-home .col-lg-10 > .owl-carousel.owl-theme::before {
    content: "Most Sellers";
    display: block;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--hp-ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
    position: relative;
}

.page-home .col-lg-10 > .owl-carousel.owl-theme::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-accent), var(--hp-accent-2));
    margin: 0 auto 1.5rem;
}

/* Premium look for the carousel slides (override ih-item.square inline) */
.page-home .owl-carousel .item.ih-item.square {
    border: none !important;
    box-shadow: var(--hp-elev-1) !important;
    border-radius: var(--hp-radius-lg) !important;
    overflow: hidden !important;
    background: #fff !important;
    margin: 0 8px 12px;
    transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-home .owl-carousel .item.ih-item.square:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(var(--hp-accent-rgb), 0.3),
        0 22px 50px rgba(var(--hp-accent-rgb), 0.18) !important;
}

.page-home .owl-carousel .item.ih-item.square a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    position: relative;
}

.page-home .owl-carousel .item.ih-item.square .img {
    background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
    padding: 1rem;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--hp-line);
}

.page-home .owl-carousel .item.ih-item.square .img img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    transition: transform 0.35s ease;
}

.page-home .owl-carousel .item.ih-item.square:hover .img img {
    transform: scale(1.04);
}

/* The .info overlay coming from ihover is replaced by a plain static label */
.page-home .owl-carousel .item.ih-item.square .info,
.page-home .owl-carousel .item.ih-item.square a .info,
.page-home .owl-carousel .item.ih-item.square:hover .info,
.page-home .owl-carousel .item.ih-item.square a:hover .info {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    padding: 0.75rem 1rem 1rem !important;
    margin: 0 !important;
    text-align: center !important;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    border: none !important;
}

.page-home .owl-carousel .item.ih-item.square a:hover .img {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

.page-home .owl-carousel .item.ih-item.square .info h3,
.page-home .owl-carousel .item.ih-item.square:hover .info h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--hp-ink) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-style: normal !important;
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    line-height: 1.35 !important;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-background-clip: border-box !important;
            background-clip: border-box !important;
    transform: none !important;
    transition: none !important;
}

.page-home .owl-carousel .item.ih-item.square .info h3::before,
.page-home .owl-carousel .item.ih-item.square .info h3::after,
.page-home .owl-carousel .item.ih-item.square .info::before,
.page-home .owl-carousel .item.ih-item.square .info::after {
    content: none !important;
    display: none !important;
}

.page-home .owl-carousel .item.ih-item.square .info p,
.page-home .owl-carousel .item.ih-item.square:hover .info p {
    margin: 0.25rem 0 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: var(--hp-muted) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    background: transparent !important;
    line-height: 1.45 !important;
    transform: none !important;
    transition: none !important;
}

/* Carousel arrows */
.page-home .owl-carousel .owl-nav {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.page-home .owl-carousel .owl-nav .owl-prev,
.page-home .owl-carousel .owl-nav .owl-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff !important;
    border: 1px solid var(--hp-line) !important;
    color: var(--hp-accent) !important;
    box-shadow: 0 8px 20px rgba(15, 18, 28, 0.08);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-home .owl-carousel .owl-nav .owl-prev:hover,
.page-home .owl-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(135deg, var(--hp-accent-2), var(--hp-accent)) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ============================================================
   5) .Integrations — Stats section
   ============================================================ */
.page-home .Integrations {
    margin: 2.5rem 0 1rem;
    padding: 2.25rem 0 2rem;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(var(--hp-accent-rgb), 0.06), transparent 70%),
        linear-gradient(165deg, #ffffff 0%, #f6f8fc 100%);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--hp-elev-1);
}

.page-home .Integrations::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--hp-accent-rgb), 0.85), #ffffffaa, rgba(var(--hp-accent-rgb), 0.85), transparent);
}

.page-home .Integrations > .container,
.page-home .Integrations .container {
    max-width: 1100px;
    padding: 0 1.25rem;
}

.page-home .Integrations .text-header,
.page-home .Integrations h2.text-center {
    display: inline-block;
    position: relative;
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    color: var(--hp-ink) !important;
    letter-spacing: -0.02em;
    padding-bottom: 0.65rem;
    margin: 0 0 0.45rem !important;
    text-align: center;
}

.page-home .Integrations .container > .text-header,
.page-home .Integrations .container > h2.text-center {
    display: block;
}

.page-home .Integrations .text-header::after,
.page-home .Integrations h2.text-center::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-accent), var(--hp-accent-2));
}

.page-home .Integrations > .container > p.text-center,
.page-home .Integrations .container > p.text-center {
    color: var(--hp-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 44rem;
    margin: 0.75rem auto 1.75rem !important;
    text-align: center;
}

.page-home .Integrations .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
}

@media (max-width: 991.98px) {
    .page-home .Integrations .row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .page-home .Integrations .row { grid-template-columns: 1fr; }
}

.page-home .Integrations .row > [class*="col-"] {
    flex: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

.page-home .Integrations .row > [class*="col-"] {
    /* Neutralize AOS in case the library isn't loaded */
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.page-home .Integrations .row > [class*="col-"] > .icon {
    background: #ffffff !important;
    border: 1px solid var(--hp-line) !important;
    border-radius: var(--hp-radius-md);
    padding: 1.75rem 1rem 1.4rem !important;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 18, 28, 0.06);
    transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.page-home .Integrations .row > [class*="col-"] > .icon::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-accent), var(--hp-accent-2));
    opacity: 0.85;
}

.page-home .Integrations .row > [class*="col-"] > .icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(var(--hp-accent-rgb), 0.16);
    border-color: rgba(var(--hp-accent-rgb), 0.3) !important;
}

/* Number — reset the legacy circle and make a big, solid, readable digit */
.page-home .Integrations .icon h3 {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 0 0.35rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    font-size: clamp(2.2rem, 4.5vw, 2.9rem) !important;
    font-weight: 800 !important;
    color: var(--hp-accent) !important;
    letter-spacing: -0.02em;
    -webkit-text-fill-color: currentColor !important;
    -webkit-background-clip: border-box !important;
            background-clip: border-box !important;
    text-shadow: none !important;
    display: block !important;
    text-align: center !important;
}

.page-home .Integrations .icon h3 .counter,
.page-home .Integrations .icon h3 span.counter,
.page-home .Integrations .icon h3 > span {
    color: var(--hp-accent) !important;
    background: transparent !important;
    background-color: transparent !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-background-clip: border-box !important;
            background-clip: border-box !important;
    display: inline !important;
    line-height: inherit !important;
    font: inherit !important;
    text-shadow: none !important;
}

/* Optional suffix "+" after the number for a stats vibe (purely decorative) */
.page-home .Integrations .icon h3::after {
    content: "+";
    color: var(--hp-accent-2);
    font-weight: 800;
    margin-left: 2px;
    opacity: 0.85;
}

.page-home .Integrations .icon p {
    margin: 0.3rem 0 0 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-muted) !important;
    line-height: 1.45;
}

/* Restore the original .Integrations dark background neutralization
   only for h3 inheritance (the section itself is reskinned above) */
.page-home .Integrations,
.page-home .Integrations * {
    color: var(--hp-ink);
}

/* ============================================================
   6) Owl Carousel dots (if visible)
   ============================================================ */
.page-home .owl-carousel .owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.page-home .owl-carousel .owl-dots .owl-dot span {
    background: rgba(var(--hp-accent-rgb), 0.25);
    width: 9px;
    height: 9px;
    margin: 0 4px;
    border-radius: 50%;
    transition: background 0.15s ease, transform 0.15s ease;
}

.page-home .owl-carousel .owl-dots .owl-dot.active span {
    background: var(--hp-accent);
    transform: scale(1.25);
}

/* ============================================================
   7) Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .page-home .groubIcons { padding: 1.5rem 0 0.5rem; }
    .page-home .groubIcons .icon { padding: 1.4rem 1.1rem 1.2rem !important; }
    .page-home .groubIcons .iconImage { width: 82px; height: 82px; }
    .page-home .groubIcons .iconImage img { width: 56px !important; height: 56px !important; }
    .page-home .Integrations { padding: 1.75rem 0 1.5rem; }
    .page-home .Integrations .text-header { font-size: 1.55rem !important; }
}

@media (prefers-reduced-motion: reduce) {
    .page-home * { transition: none !important; animation: none !important; }
}
