/* =========================================================
   NETRILLERHOST INDEX CSS
   Horizontal Overflow Fix + Back to Top Button
========================================================= */


/* =========================================================
   GLOBAL OVERFLOW PROTECTION
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* Fallback for older browsers */
@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

/* Media must not widen the viewport */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

/* Allow long text to wrap */
body {
    overflow-wrap: break-word;
}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.dropdown-menu {
    min-width: 260px;
    border-radius: 16px;
    padding: .5rem;
    max-width: calc(100vw - 20px);
}

.dropdown-item {
    padding: .7rem 1rem;
    border-radius: 10px;
    transition: .25s;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background: #f5f7fb;
}

[data-theme="dark"] .dropdown-menu {
    background: #1d1f24;
    border: 1px solid rgba(255,255,255,.08);
}

[data-theme="dark"] .dropdown-item {
    color: #fff;
}

[data-theme="dark"] .dropdown-item:hover {
    background: rgba(255,255,255,.08);
}


/* =========================================================
   DESKTOP HOVER DROPDOWN
========================================================= */

@media (min-width: 992px) {

    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all .25s ease;
        margin-top: 0;
        border-radius: 14px;
        min-width: 260px;
    }

    .dropdown-toggle::after {
        transition: transform .25s ease;
    }

    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}


/* =========================================================
   DROPDOWN ICONS
========================================================= */

.dropdown-menu .fa-solid,
.dropdown-menu .fa-regular,
.dropdown-menu .fa-brands {
    color: #ff8c00 !important;
    width: 20px;
    text-align: center;
}


/* =========================================================
   HERO SLIDE
========================================================= */

.hero-slide {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    background: linear-gradient(
        180deg,
        rgb(12,12,18) 0%,
        rgb(18,18,28) 50%,
        rgb(10,10,15) 100%
    );

    padding: 20px 0;
    max-width: 100%;
}

.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.hero-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.4);
    transition: .3s;
}

.hero-indicators .active {
    background: var(--pur);
    transform: scale(1.2);
}


/* =========================================================
   FEATURE ICONS
========================================================= */

.ftico {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.20);
}

.ftico i {
    font-size: 2rem;
    color: var(--pur);
}


/* =========================================================
   PRICING TOGGLE
========================================================= */

.pricing-toggle-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.pricing-toggle-wrapper.sticky-toggle {
    position: sticky;
    top: 80px;
    z-index: 999;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);

    padding: 10px 0;
    border-bottom: 1px solid var(--bd);
}

.pricing-toggle .modeBtn {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--bd2);

    background: var(--sf);
    color: var(--tx2);

    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: .25s ease;
    position: relative;
}

.pricing-toggle .modeBtn:hover {
    transform: translateY(-1px);
    border-color: var(--grad);
}

.pricing-toggle .modeBtn.active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


/* =========================================================
   PRICING CARDS
========================================================= */

.pcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.pcard p {
    max-height: 40px;
    overflow-y: auto;
    padding-right: 6px;
}

.pcard p::-webkit-scrollbar {
    width: 4px;
}

.pcard p::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.pcard .btn,
.pcard a {
    margin-top: auto;
}

.pfl {
    font-size: .85rem;
    line-height: 1.6;
}


/* =========================================================
   BACK TO TOP BUTTON
   FIXED AT BOTTOM-RIGHT
========================================================= */

.back-to-top {
    position: fixed !important;

    right: 25px !important;
    bottom: 25px !important;

    left: auto !important;
    top: auto !important;

    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: none;

    background: #ffc107;
    color: #000;

    font-size: 18px;
    cursor: pointer;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(20px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;

    z-index: 10000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #ffca2c;
    transform: translateY(-3px);
}


/* =========================================================
   DOMAIN SEARCH SECTION
========================================================= */

.domain-search-section {
    background: rgb(16,16,16);
    padding: 35px 0;

    width: 100%;
    max-width: 100%;
}

.domain-search-box {
    background: rgb(28,28,28);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    padding: 30px;
    text-align: center;

    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.domain-search-box h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;

    overflow-wrap: anywhere;
}


/* =========================================================
   DOMAIN SEARCH TABS
========================================================= */

.domain-tabs {
    display: inline-flex;
    max-width: 100%;

    background: rgb(40,40,40);
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.domain-tab {
    border: none;
    background: transparent;
    color: #bbb;

    padding: 10px 30px;
    border-radius: 40px;

    font-weight: 600;
    transition: .25s;
    cursor: pointer;

    min-width: 0;
}

.domain-tab.active {
    background: #ff9800;
    color: #fff;
}

.domain-tab:hover {
    color: #fff;
}


/* =========================================================
   DOMAIN SEARCH PANES
========================================================= */

.domain-pane {
    display: none;
    min-width: 0;
    max-width: 100%;
}

.domain-pane.active {
    display: block;
}


/* =========================================================
   DOMAIN INPUT GROUP
========================================================= */

.domain-pane .input-group {
    display: flex !important;
    flex-wrap: nowrap;

    width: 100%;
    max-width: 850px;
    min-width: 0;

    margin: auto;

    border-radius: 12px;
    overflow: hidden;
}

.domain-pane .form-control {
    flex: 1 1 auto !important;

    min-width: 0 !important;
    width: 100% !important;
    max-width: 100%;

    height: 55px;
    border: none;

    box-shadow: none !important;
}

.domain-pane .btn {
    flex: 0 0 auto;

    white-space: nowrap;
    min-width: 140px;

    border-radius: 0;
}


/* =========================================================
   DOMAIN SEARCH MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 768px) {

    .domain-pane .input-group {
        flex-direction: column !important;
        flex-wrap: nowrap;

        gap: 12px;
        overflow: visible;
    }

    .domain-pane .form-control {
        width: 100% !important;
        max-width: 100%;

        border-radius: 10px !important;
        height: 50px;
    }

    .domain-pane .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        height: 50px;
        border-radius: 10px !important;
    }

    .domain-search-box {
        padding: 20px;
    }

    .domain-search-box h2 {
        font-size: 1.5rem;
    }

    .domain-tabs {
        width: 100%;
        display: flex;
    }

    .domain-tab {
        flex: 1 1 0;
        padding: 12px 8px;
    }

    .domain-pane input {
        width: 100%;
        max-width: 100%;

        border-radius: 10px !important;
        height: 50px;
    }
}


/* =========================================================
   HERO IMAGES
========================================================= */

.hero-images {
    position: relative;
    min-height: 560px;
    max-width: 100%;
}

.hero-card {
    position: absolute;

    width: 180px;
    max-width: 100%;

    text-align: center;

    animation: float 5s ease-in-out infinite;
    transition: .35s ease;
    cursor: pointer;
}

.hero-card img {
    width: 100%;
    max-width: 100%;
    height: 150px;

    object-fit: contain;
    display: block;
    margin: 0 auto;

    filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}

.hero-card h6 {
    margin-top: 12px;
    margin-bottom: 4px;

    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

.hero-card p {
    color: #b7b7c5;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(2deg);
}


/* =========================================================
   HERO IMAGE POSITIONS
========================================================= */

.server-img {
    top: 0;
    left: 10px;
    animation-delay: 0s;
}

.domain-img {
    top: 40px;
    right: 0;
    animation-delay: 1s;
}

.seo-img {
    bottom: 10px;
    left: 20px;
    animation-delay: 2s;
}

.software-img {
    bottom: 0;
    right: 20px;
    animation-delay: 3s;
}


/* =========================================================
   FLOATING ANIMATION
========================================================= */

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}


/* =========================================================
   HERO IMAGES ON TABLET AND MOBILE
========================================================= */

@media (max-width: 991px) {

    .hero-images {
        position: relative;
        min-height: auto;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px;
        align-items: center;
        justify-items: center;

        margin-top: 40px;
    }

    .hero-card {
        position: relative;

        width: 100%;
        max-width: 220px;
        min-width: 0;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        margin: 0;
    }

    .hero-card img {
        width: 100%;
        max-width: 170px;
        margin: auto;
    }
}


/* =========================================================
   COUPON MODAL
========================================================= */

.coupon-modal {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    max-width: 100%;
    height: 100%;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-modal.hidden {
    display: none;
}


/* Modal backdrop */

.coupon-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}


/* Coupon popup box */

.coupon-popup {
    position: relative;

    width: 90%;
    max-width: 420px;
    min-width: 0;

    background: #111;
    color: #fff;

    padding: 25px;
    border-radius: 16px;

    z-index: 2;
    text-align: center;

    animation: popIn 0.25s ease;
}

@keyframes popIn {

    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Coupon close button */

.coupon-close {
    position: absolute;

    top: 10px;
    right: 12px;

    background: none;
    border: none;

    font-size: 26px;
    color: #fff;

    cursor: pointer;
}


/* Coupon icon */

.coupon-icon {
    font-size: 40px;
    margin-bottom: 10px;
}


/* Coupon code */

.coupon-code-box {
    background: #222;

    padding: 10px;
    border-radius: 8px;

    margin: 15px 0;
    letter-spacing: 2px;
    font-weight: bold;

    overflow-wrap: anywhere;
}


/* Coupon button */

.coupon-btn {
    display: inline-block;

    max-width: 100%;
    padding: 10px 16px;

    background: #ff7a00;
    color: #fff;

    border-radius: 8px;
    text-decoration: none;
}


/* =========================================================
   DOMAIN EXTENSIONS
========================================================= */

.domain-extensions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;
    margin-top: 12px;

    flex-wrap: wrap;
    text-align: center;

    max-width: 100%;
}

.domain-extensions span {
    background: rgba(255,255,255,0.08);

    padding: 5px 12px;
    border-radius: 20px;

    font-size: 12px;
    color: #fff;

    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.domain-extensions span:hover {
    background: #ffb300;
    color: #000;
}


/* =========================================================
   TAB BUTTONS
========================================================= */

.tab-btn i {
    display: block;
    margin-bottom: 6px;
}

.tab-label {
    font-size: 1.2rem;
    opacity: .85;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff7a00, #ff3c00);
    border-color: transparent;

    transform: translateY(-2px);
}

.tab-btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   OFFCANVAS
========================================================= */

.offcanvas-backdrop {
    z-index: 1040 !important;
}

.offcanvas {
    z-index: 1050 !important;
    max-width: 100%;
}


/* =========================================================
   DATACENTER SECTION
========================================================= */

.datacenter-section {
    padding: 80px 0;

    background: #0b0b10;
    color: #fff;

    width: 100%;
    max-width: 100%;
}


/* Datacenter title */

.dc-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.dc-title p {
    color: #aaa;
    margin-bottom: 40px;
}


/* =========================================================
   DATACENTER GRID
========================================================= */

.dc-list {
    display: grid;

    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px;

    max-width: 1200px;
    margin: 0 auto;

    width: 100%;
}


/* Datacenter card */

.dc-card {
    background: rgba(255,255,255,0.04);

    padding: 16px;
    border-radius: 14px;

    text-align: center;
    transition: 0.3s;

    position: relative;
    overflow: hidden;

    min-width: 0;
}

.dc-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.07);
}


/* Datacenter icon */

.dc-icon {
    font-size: 28px;
    margin-bottom: 10px;
}


/* Datacenter title */

.dc-card h4 {
    margin: 5px 0;
    font-size: 14px;

    overflow-wrap: anywhere;
}


/* Datacenter description */

.dc-card p {
    font-size: 12px;
    color: #bbb;

    line-height: 1.4;
    margin-bottom: 12px;
}


/* Datacenter status */

.dc-status {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
    font-size: 12px;
    color: #8fff9a;
}

.dc-status .dot {
    width: 8px;
    height: 8px;

    flex-shrink: 0;

    background: #2cff6a;
    border-radius: 50%;

    box-shadow: 0 0 10px #2cff6a;
}


/* =========================================================
   DATACENTER RESPONSIVE GRID
========================================================= */

/* Laptop and small desktop */

@media (max-width: 1199px) {

    .dc-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* Tablet and mobile */

@media (max-width: 767px) {

    .dc-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}


/* Small mobile */

@media (max-width: 420px) {

    .dc-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .dc-card {
        text-align: center;
    }
}


/* =========================================================
   MOBILE BOTTOM NAVIGATION
========================================================= */

/* Hide on desktop and tablets */

.mobile-bottom-nav {
    display: none;
}


/* Phone layout */

@media (max-width: 767px) {

    body {
        padding-bottom:
            calc(78px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        position: fixed;

        bottom: 0;
        left: 0;

        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: space-around;

        width: 100%;
        max-width: 100%;

        min-height: 68px;

        padding:
            8px
            6px
            calc(8px + env(safe-area-inset-bottom));

        background: rgb(20, 20, 24);

        border-top: 1px solid rgba(255, 140, 0, .35);

        box-shadow: 0 -8px 24px rgba(0, 0, 0, .28);
    }

    .mobile-nav-item {
        min-width: 0;
        overflow: hidden;
    }

    /* Keep Back to Top above bottom navigation */

    .back-to-top {
        right: 16px !important;

        bottom:
            calc(85px + env(safe-area-inset-bottom)) !important;
    }
}


/* =========================================================
   MOBILE NAV ITEMS
========================================================= */

.mobile-nav-item {
    display: flex;

    flex: 1 1 0;
    min-width: 0;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    color: rgb(180, 180, 185);

    font-size: .68rem;
    font-weight: 600;

    text-decoration: none;
    transition: .2s ease;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-nav-item i {
    font-size: 1.15rem;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: rgb(255, 145, 0);
}

.mobile-nav-item.active i {
    text-shadow: 0 0 10px rgba(255, 145, 0, .55);
}


/* =========================================================
   EXTRA HORIZONTAL OVERFLOW PROTECTION
========================================================= */

/* Allow Bootstrap columns and containers to shrink */

.row,
.container,
.container-fluid,
[class*="col-"] {
    min-width: 0;
}


/* Prevent tables from widening their parent */

table {
    max-width: 100%;
}


/* Let long URLs, code and card content wrap */

pre,
code,
.domain-search-box,
.pcard,
.dc-card {
    overflow-wrap: anywhere;
}