/* ==========================================================================
   Modern polish + responsive fixes layer
   Loaded after style.css / responsive.css so these rules take precedence.
   Keeps the existing dark navy (#19233f) / gold (#be7b2e) brand palette.
   ========================================================================== */

/* Prevent accidental horizontal scroll on small screens */
html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid #be7b2e;
    outline-offset: 2px;
}

/* Sticky navbar gets a bit more presence once scrolled */
.wrap-sticky nav.navbar.bootsnav {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- Pricing cards ---------- */
.table {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.pricing-tables .col-lg-4:hover .table,
.pricing-tables .col-md-4:hover .table {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-tables .price {
    line-height: 1.3;
}

.price-annual {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

/* ---------- Web design tab pricing ---------- */
.tab-price {
    display: inline-block;
    color: #be7b2e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px !important;
}

/* ---------- Buttons ---------- */
.btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.pricing-tables .buttons .btn:hover,
.host-feature button:hover {
    transform: translateY(-2px);
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-pulse 2.4s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.55);
    }
    70% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float img {
        width: 36px;
        height: 36px;
    }
}

/* ---------- Misc responsive polish ---------- */
@media screen and (max-width: 480px) {
    .pricing-tables .price {
        width: auto;
        max-width: 220px;
        padding: 10px 16px 20px;
    }

    .main-title h2 {
        font-size: 28px;
    }

    .home-title h2 {
        font-size: 32px !important;
    }

    .tab-price {
        font-size: 20px;
    }
}

/* ---------- Layout cleanup after removing top bar / off-canvas side panel ---------- */

/* The old layout nudged the brand logo and hero content right to clear the
   removed left-sidebar and top bar; both are gone now, so keep things flush. */
.navbar-brand.aligment-for-home {
    left: 0 !important;
}

@media screen and (max-width: 1400px) {
    .home-carousel .custom-width {
        margin-left: 0 !important;
    }
}

/* Separate the two consecutive pricing-table sections (Email, then Web Hosting)
   so they don't visually blur into one block. */
.pricing-tables + .pricing-tables {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
