/* =====================================================
   Dark Cards Pattern
   Cards 02, 04 and 06
===================================================== */

.home-service-card:nth-child(even) {
    color: var(--text-white);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(22, 128, 58, 0.30),
            transparent 34%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(43, 87, 151, 0.35),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            var(--primary-dark) 0%,
            var(--primary-color) 58%,
            #0d315f 100%
        );

    border-color: rgba(255, 255, 255, 0.10);

    box-shadow:
        0 18px 42px rgba(11, 35, 72, 0.22);
}



.home-service-card:nth-child(even)::after {
    border-color: rgba(255, 255, 255, 0.06);

    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.018),
        0 0 0 70px rgba(255, 255, 255, 0.012);
}

.home-service-card:nth-child(even):hover {
    color: var(--text-white);

    border-color: rgba(134, 239, 172, 0.34);

    box-shadow:
        0 26px 55px rgba(11, 35, 72, 0.30);
}


/* Dark card icon */

.home-service-card:nth-child(even) .home-service-card-icon {
    color: #86efac;
    background: rgba(22, 128, 58, 0.19);

    border-color: rgba(134, 239, 172, 0.17);
}


/* Dark card number */

.home-service-card:nth-child(even) .home-service-card-number {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.09);
}


/* Dark card heading */

.home-service-card:nth-child(even) .home-service-card-content h3 {
    color: var(--text-white);
}


/* cPanel remains orange */

.home-service-card:nth-child(even) .home-service-cpanel {
    color: #ff6c2c;
}


/* Dark card description */

.home-service-card:nth-child(even) .home-service-card-content > p {
    color: rgba(255, 255, 255, 0.72);
}


/* Dark card features */

.home-service-card:nth-child(even) .home-service-features > span {
    color: rgba(255, 255, 255, 0.82);

    border-bottom-color: rgba(255, 255, 255, 0.10);
}

.home-service-card:nth-child(even) .home-service-features i {
    color: #86efac;
}


/* Dark card footer */

.home-service-card:nth-child(even) .home-service-card-footer {
    border-top-color: rgba(255, 255, 255, 0.11);
}

.home-service-card:nth-child(even) .home-service-card-footer > span {
    color: var(--text-white);
}

.home-service-card:nth-child(even) .home-service-card-footer > i {
    color: var(--primary-dark);
    background: var(--bg-white);

    border-color: var(--bg-white);
}

.home-service-card:nth-child(even):hover
.home-service-card-footer > i {
    color: var(--text-white);
    background: var(--accent-color);

    border-color: var(--accent-color);
}


/* =====================================================
   Laptop
===================================================== */

@media (max-width: 1199.98px) {

    .home-service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-card {
        min-height: 350px;
    }
}


/* =====================================================
   Tablet / Mobile
===================================================== */

@media (max-width: 767.98px) {

    .home-solutions-section {
        padding: 50px 12px 56px;
    }

    .home-solutions-heading {
        margin-bottom: 32px;
    }

    .home-solutions-heading h2 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .home-solutions-heading p {
        font-size: 18px;
    }

    .home-service-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-service-card {
        min-height: auto;
    }

    .home-service-card-content > p {
        min-height: auto;
    }
}


/* =====================================================
   Small Mobile
===================================================== */

@media (max-width: 480px) {

    .home-solutions-section {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-service-card {
        padding: 23px 20px 19px;

        border-radius: 19px;
    }

    .home-service-card-icon {
        width: 50px;
        height: 50px;

        border-radius: 14px;

        font-size: 20px;
    }

    .home-service-card-content h3 {
        font-size: 18px;
    }

    .home-service-features {
        grid-template-columns: 1fr;
    }

    .home-service-features > span,
    .home-service-features > span:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(219, 228, 240, 0.78);
    }

    .home-service-card:nth-child(even)
    .home-service-features > span {
        border-bottom-color: rgba(255, 255, 255, 0.10);
    }

    .home-service-features > span:last-child,
    .home-service-card:nth-child(even)
    .home-service-features > span:last-child {
        border-bottom: 0;
    }
}


/* =====================================================
   Reduced Motion
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-service-card,
    .home-service-card::before,
    .home-service-card-icon,
    .home-service-card-footer > i {
        transition: none;
    }
}


/* =====================================================
   Large Laptop
===================================================== */

@media (max-width: 1199.98px) {

    .home-solutions-section .container {
        max-width: 1120px;
    }

    .home-service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-card {
        min-height: 340px;
    }
}


/* =====================================================
   Tablet and Mobile
===================================================== */

@media (max-width: 767.98px) {

    .home-solutions-section {
        padding: 48px 12px 54px;
    }

    .home-solutions-heading {
        margin-bottom: 30px;
    }

    .home-solutions-heading h2 {
        font-size: 2rem;
        letter-spacing: -0.85px;
    }

    .home-solutions-heading p {
        font-size: 18px;
    }

    .home-service-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-service-card {
        min-height: auto;
    }

    .home-service-card-content > p {
        min-height: auto;
    }
}


/* =====================================================
   Small Mobile
===================================================== */

@media (max-width: 480px) {

    .home-solutions-section {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-service-card {
        padding: 22px 19px 18px;

        border-radius: 18px;
    }

    .home-service-card-top {
        margin-bottom: 16px;
    }

    .home-service-card-icon {
        width: 48px;
        height: 48px;

        border-radius: 14px;

        font-size: 1.12rem;
    }

    .home-service-card-content h3 {
        font-size: 1.08rem;
    }

    .home-service-features {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-service-features > span,
    .home-service-features > span:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(219, 228, 240, 0.78);
    }

    .home-service-features > span:last-child {
        border-bottom: 0;
    }
}


/* =====================================================
   Reduced Motion
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-service-card,
    .home-service-card::before,
    .home-service-card-icon,
    .home-service-card-footer > i {
        transition: none;
    }
}


/* =====================================================
   Home Page - Who We Are GIF Visual
===================================================== */

.ih-about-visual {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin-left: auto;
}


/* Main image / GIF frame */

.ih-about-image-frame {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: hidden;

    background: var(--bg-blue-soft, #f1f6ff);
    border: 1px solid rgba(20, 55, 111, 0.08);
    border-radius: 30px;

    box-shadow:
        0 26px 65px rgba(11, 35, 72, 0.14),
        0 8px 22px rgba(11, 35, 72, 0.06);
}


/* GIF image */

.ih-about-image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    border-radius: inherit;
}

/* Very light visual overlay */

.ih-about-image-frame::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(11, 35, 72, 0.015) 0%,
            transparent 45%,
            rgba(11, 35, 72, 0.06) 100%
        );

    border-radius: inherit;

    pointer-events: none;
}


/* Optional subtle background shape */

.ih-about-visual::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -28px;
    right: -28px;

    width: 180px;
    height: 180px;

    background: rgba(22, 128, 58, 0.07);

    border-radius: 50%;
}

.ih-about-visual::after {
    content: "";

    position: absolute;
    z-index: -1;

    left: -30px;
    bottom: -28px;

    width: 160px;
    height: 160px;

    background: rgba(20, 55, 111, 0.07);

    border-radius: 34px;

    transform: rotate(15deg);
}


/* Empty floating cards hide karanna */

.ih-about-floating-card:empty {
    display: none;
}


/* =====================================================
   Large Tablet
===================================================== */

@media (min-width: 1200px) {
    .ih-about-section .container {
        max-width: 1400px;
    }

    .ih-about-visual {
        max-width: 760px;
    }
}


/* =====================================================
   Tablet
===================================================== */

@media (max-width: 991.98px) {

    .ih-about-visual {
        max-width: 720px;
        margin: 10px auto 0;
    }

    .ih-about-image-frame {
        height: 520px;

        border-radius: 26px;
    }

    .ih-about-image {
        object-position: center center;
    }

    .ih-about-visual::before {
        top: -20px;
        right: -16px;

        width: 145px;
        height: 145px;
    }

    .ih-about-visual::after {
        left: -16px;
        bottom: -20px;

        width: 130px;
        height: 130px;
    }
}


/* =====================================================
   Mobile
===================================================== */

@media (max-width: 767.98px) {

    .ih-about-visual {
        width: 100%;
        margin-top: 8px;
    }

    .ih-about-image-frame {
        height: 440px;

        border-radius: 22px;

        box-shadow:
            0 20px 44px rgba(11, 35, 72, 0.12),
            0 6px 16px rgba(11, 35, 72, 0.05);
    }

    .ih-about-visual::before,
    .ih-about-visual::after {
        display: none;
    }
}


/* =====================================================
   Small Mobile
===================================================== */

@media (max-width: 575.98px) {

    .ih-about-image-frame {
        height: 380px;

        border-radius: 19px;
    }

    .ih-about-image {
        object-position: 58% center;
    }
}


/* =====================================================
   Very Small Mobile
===================================================== */

@media (max-width: 420px) {

    .ih-about-image-frame {
        height: 330px;
    }
}


/* =====================================================
   Journey Card Links Fix (Make them visible)
===================================================== */
.journey-card a {
    position: relative;
    z-index: 2;
    color: #79e39b !important;
    font-size: 17px !important;
    transition: color 0.3s ease;
}

.journey-card a:hover {
    color: #ffffff !important; 
}

.journey-card a i {
    display: inline-block;
    transition: transform 0.3s ease;
}


.journey-card:hover a i,
.journey-card a:hover i {
    transform: translateX(5px); 
}

/* =====================================================
   FAQ Text Highlight
===================================================== */
.faq-highlight {
    color: var(--accent-color); 
         font-weight: 600; 
}


/* =====================================================
   Extracted Inline Styles (Home Page)
===================================================== */
.journey-card a.text-decoration-none {
    color: var(--be-green-600);
    font-size: 0.9rem;
}


/* =====================================================
   FINAL RESPONSIVE SAFETY NET (Home Page)
   Ensures 100% compatibility across all extreme device sizes
===================================================== */

/* Ultra-wide monitors (4K / 2K) */
@media (min-width: 1600px) {
    .hero-section {
        padding: 50px 20px !important;
    }
    .hero-control-hub {
        transform: scale(1.05);
        transform-origin: center right;
    }
}

/* Small Mobile Devices (380px & below - e.g., iPhone SE) */
@media (max-width: 380px) {
    .hero-section h1 {
        font-size: 28px !important;
    }
    .clean-brand-text {
        font-size: 18px !important;
    }
    .clean-brand-icon,
    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .hub-domain-card {
        padding: 10px;
    }
    .domain-input-box {
        font-size: 12px;
        padding: 10px;
    }
    .trust-number {
        font-size: 1.6rem !important;
    }
    .trust-number-static {
        font-size: 1.2rem !important;
    }
    .home-solutions-heading h2 {
        font-size: 26px !important;
    }
    .section-title h2 {
        font-size: 26px !important;
    }
}

/* General Mobile Flex Fixes */
@media (max-width: 575.98px) {
    .ask-question-box {
        text-align: center;
    }
    .ask-question-box .btn {
        width: 100%;
        margin-top: 10px;
    }
    .hero-benefits {
        grid-template-columns: 1fr 1fr;
    }
    .hero-benefits div {
        font-size: 13px;
        padding: 10px 0;
        border-right: 0 !important;
    }
    .hub-domain-card button {
        width: 100%;
    }
}


.ih-about-image {
    display: block;
    width: 100%;
    max-width: 100%; /* Me peliya aluthen add karanna */
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
}


/* Logo Styles */
        /* Default State (Top of Page - Blue Background) */
        .logo-scrolled { display: none !important; }
        .logo-default { display: block !important; }

        /* Scrolled State (White Background) */
        .site-header.scrolled .logo-default { display: none !important; }
        .site-header.scrolled .logo-scrolled { display: block !important; }




/* =========================================================
   iHoster.net
   FINAL HEADER RESPONSIVE OVERRIDES
   Keep this block at the VERY END of the main CSS file
========================================================= */


/* =========================================================
   LARGE / MEDIUM LAPTOP
   992px - 1199px
========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .site-header .container {
        width: 100%;
        max-width: 100% !important;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header .clean-brand {
        margin-right: 18px !important;
        flex-shrink: 0;
    }

    .site-header .navbar-nav {
        gap: 5px !important;
    }

    .site-header .navbar-nav .nav-link {
        padding: 10px 7px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .site-header .header-actions {
        margin-left: 14px !important;
        gap: 9px !important;
        flex-shrink: 0;
    }

    .site-header .header-phone {
        display: none !important;
    }

    .site-header .btn-signup {
        padding: 10px 14px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
}


/* =========================================================
   TABLET + MOBILE
   Bootstrap navbar collapses below 992px
========================================================= */

@media (max-width: 991.98px) {

    body {
        padding-top: 72px !important;
    }

    html {
        scroll-padding-top: 80px;
    }


    /* ---------------------------
       HEADER / NAVBAR
    --------------------------- */

    .site-header {
        width: 100% !important;
        z-index: 999999 !important;
    }

    .site-header .main-navbar {
        position: relative;
        width: 100%;
        padding: 10px 0 !important;
    }

    .site-header .main-navbar > .container {
        width: 100%;
        max-width: 100% !important;

        padding-left: 16px;
        padding-right: 16px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    /* ---------------------------
       LOGO
    --------------------------- */

    .site-header .navbar-brand {
        display: flex;
        align-items: center;

        flex: 0 1 auto;

        margin: 0 !important;
        padding: 0 !important;

        min-width: 0;
    }

    .site-header .navbar-brand img {
        display: block;

        width: auto;
        max-width: 175px !important;
        height: auto;

        object-fit: contain;
    }


    /* ---------------------------
       MOBILE TOGGLER
    --------------------------- */

    .site-header .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 auto;

        width: 44px;
        height: 44px;

        margin-left: 12px;
        padding: 8px !important;

        background: #ffffff !important;

        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 11px;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);

        outline: none !important;
    }

    .site-header .navbar-toggler:focus {
        box-shadow:
            0 0 0 3px rgba(10, 127, 38, 0.18),
            0 5px 15px rgba(0, 0, 0, 0.12) !important;
    }

    .site-header .navbar-toggler-icon {
        width: 22px;
        height: 22px;

        filter:
            invert(12%)
            sepia(51%)
            saturate(2108%)
            hue-rotate(201deg)
            brightness(88%)
            contrast(98%);
    }


    /* ---------------------------
       COLLAPSED MOBILE MENU
    --------------------------- */

    .site-header #mainNavbar {
        position: absolute !important;

        top: 100% !important;
        left: 12px !important;
        right: 12px !important;

        width: auto !important;

        margin: 0 !important;
        padding: 14px !important;

        max-height: calc(100vh - 85px);
        max-height: calc(100dvh - 85px);

        overflow-x: hidden !important;
        overflow-y: auto !important;

        background:
            linear-gradient(
                145deg,
                #102f5c 0%,
                #0b2349 100%
            ) !important;

        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 0 0 18px 18px;

        box-shadow:
            0 22px 45px rgba(4,24,54,0.30);

        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }


    /* ---------------------------
       NAVIGATION LINKS
    --------------------------- */

    .site-header #mainNavbar .navbar-nav {
        width: 100%;

        margin: 0 !important;

        align-items: stretch !important;
        gap: 4px !important;
    }

    .site-header #mainNavbar .navbar-nav > .nav-item {
        width: 100%;
    }

    .site-header #mainNavbar .navbar-nav > .nav-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 12px 13px !important;

        color: #ffffff !important;

        font-size: 14px !important;
        font-weight: 700 !important;

        border-radius: 9px;

        background: transparent !important;

        white-space: normal;
    }

    .site-header #mainNavbar .navbar-nav > .nav-item > .nav-link:hover,
    .site-header #mainNavbar .navbar-nav > .nav-item > .nav-link:focus,
    .site-header #mainNavbar .navbar-nav > .nav-item > .nav-link.show {
        color: #ffffff !important;
        background: rgba(255,255,255,0.10) !important;
    }


    /* Keep mobile menu white text after header scroll */

    .site-header.scrolled #mainNavbar .nav-link,
    .site-header.scrolled #mainNavbar .navbar-nav .nav-link {
        color: #ffffff !important;
    }


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

    .site-header .mega-dropdown {
        position: static !important;
        width: 100%;
    }

    .site-header .mega-dropdown .mega-menu,
    .site-header .mega-dropdown .dropdown-menu {
        position: static !important;

        inset: auto !important;
        transform: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 6px 0 5px !important;
        padding: 9px !important;

        overflow: visible !important;

        background: #ffffff !important;

        border: 0 !important;
        border-radius: 13px !important;

        box-shadow: none !important;
    }

    .site-header .mega-menu > .container {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;

        box-shadow: none !important;
    }

    .site-header .mega-menu .row {
        margin: 0 !important;

        --bs-gutter-x: 0;
        --bs-gutter-y: 5px;
    }


    /* Desktop description column is unnecessary in mobile */

    .site-header .mega-menu .mega-left {
        display: none !important;
    }

    .site-header .mega-menu .col-lg-9,
    .site-header .mega-menu .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    /* Mega menu service item */

    .site-header .mega-menu .mega-item {
        display: flex;
        align-items: center;

        width: 100%;

        gap: 11px;

        padding: 10px 9px;

        color: #173a66 !important;
        background: #ffffff;

        border: 1px solid transparent;
        border-radius: 10px;

        transform: none !important;
    }

    .site-header .mega-menu .mega-item:hover,
    .site-header .mega-menu .mega-item:focus {
        color: #173a66 !important;

        background: #f3faf6;

        border-color: #d8e7df;

        transform: none !important;
    }


    /* Mega menu icons */

    .site-header .mega-menu .mega-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: 20px;
    }

    .site-header .mega-menu .mega-item > div {
        flex: 1;
        min-width: 0;
    }

    .site-header .mega-menu .mega-item h5 {
        margin: 0 0 2px;

        color: #173a66 !important;

        font-size: 16px !important;
             font-weight: 600;
        line-height: 1.3;

        white-space: normal;
    }

    .site-header .mega-menu .mega-item p {
        margin: 0;

        color: #687b94 !important;

        font-size: 13px;
        line-height: 1.45;

        white-space: normal;
    }


    /* =====================================================
       HEADER ACTIONS
    ===================================================== */

    .site-header .header-actions {
        display: flex !important;
        flex-direction: column;

        width: 100%;

        margin: 10px 0 0 !important;

        padding-top: 10px;

        gap: 0px !important;

        align-items: stretch !important;

        border-top: 1px solid rgba(255,255,255,0.10);
    }

    .site-header .header-phone {
        display: none !important;
    }

    .site-header .header-actions .btn-signup {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100% !important;

        margin: 0 !important;

        padding: 11px 16px !important;

        font-size: 14px !important;

        text-align: center;

        white-space: normal;
    }


    /* Logged-in notification bell */

    .site-header .header-actions > .dropdown {
        margin: 0 !important;

        align-self: flex-start;
    }

    .site-header #notificationMenu {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        padding: 0 !important;

        color: #ffffff !important;

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

        border-radius: 10px;
    }


    /* Notification popup must not overflow small screens */

    .site-header #notificationMenu + .dropdown-menu {
        left: 0 !important;
        right: auto !important;

        width: min(320px, calc(100vw - 55px)) !important;

        min-width: 0 !important;
        max-width: calc(100vw - 55px) !important;

        margin-top: 6px !important;

        transform: none !important;
    }
}


/* =========================================================
   NORMAL MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .site-header .main-navbar > .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-header .navbar-brand img {
        max-width: 160px !important;
    }

    .site-header #mainNavbar {
        left: 8px !important;
        right: 8px !important;

        padding: 11px !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    body {
        padding-top: 66px !important;
    }

    .site-header .main-navbar {
        padding: 9px 0 !important;
    }

    .site-header .navbar-brand img {
        max-width: 145px !important;
    }

    .site-header .navbar-toggler {
        width: 40px;
        height: 40px;

        margin-left: 8px;
    }

    .site-header #mainNavbar {
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
    }

    .site-header .mega-menu .mega-item {
        gap: 9px;

        padding: 9px 7px;
    }

    .site-header .mega-menu .mega-icon {
        flex-basis: 36px;

        width: 36px;
        height: 36px;

        font-size: 17px;
    }

    .site-header .mega-menu .mega-item h5 {
        font-size: 16px;
    }

    .site-header .mega-menu .mega-item p {
        font-size: 13px;
    }
}


/* =========================================================
   VERY SMALL MOBILE - 320px / 360px
========================================================= */

@media (max-width: 400px) {

    .site-header .main-navbar > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header .navbar-brand img {
        max-width: 135px !important;
    }

    .site-header .navbar-toggler {
        width: 38px;
        height: 38px;

        padding: 7px !important;
    }

    .site-header #mainNavbar {
        left: 5px !important;
        right: 5px !important;

        padding: 9px !important;
    }

    .site-header #mainNavbar .navbar-nav > .nav-item > .nav-link {
        padding: 10px 10px !important;

        font-size: 13px !important;
    }

    .site-header .mega-menu {
        padding: 7px !important;
    }

    .site-header .mega-menu .mega-item p {
        display: none;
    }

    .site-header .header-actions .btn-signup {
        font-size: 13px !important;
    }

    .site-header #notificationMenu + .dropdown-menu {
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
    }
}



/* =========================================================
   iHoster.net
   FINAL FOOTER RESPONSIVE OVERRIDES
   Keep AFTER Header Responsive Overrides
========================================================= */


/* =========================================================
   GENERAL FOOTER SAFETY
========================================================= */

.site-footer {
    width: 100%;
    overflow: hidden;
}

.site-footer .container {
    width: 100%;
}

.site-footer .clean-brand {
    margin-right: 0 !important;
    margin-bottom: 22px !important;
}

.site-footer .clean-brand img {
    display: block;
    width: auto;
    max-width: 330px !important;
    height: auto;
    object-fit: contain;
}

.site-footer p,
.site-footer a,
.site-footer li,
.site-footer h5 {
    overflow-wrap: break-word;
    word-break: normal;
}

.site-footer .footer-contact a {
    word-break: break-word;
}


/* =========================================================
   LAPTOP
   992px - 1199px
========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }

    .site-footer .container {
        max-width: 100% !important;
        padding-left: 28px;
        padding-right: 28px;
    }

    .site-footer .row {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }

    .site-footer .clean-brand {
        margin-right: 0 !important;
    }

    .site-footer .clean-brand img {
        max-width: 180px !important;
    }

    .site-footer p {
        font-size: 15px;
        line-height: 1.75;
    }

    .site-footer a {
        font-size: 15px;
    }

    .site-footer h5 {
        font-size: 18px;
    }
}


/* =========================================================
   TABLET
   768px - 991px
========================================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

    .site-footer {
        padding: 55px 0 30px;
    }

    .site-footer .container {
        max-width: 100% !important;

        padding-left: 28px;
        padding-right: 28px;
    }

    .site-footer .row {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2.5rem;
    }

    .site-footer .clean-brand {
        margin-right: 0 !important;
        margin-bottom: 18px !important;
    }

    .site-footer .clean-brand img {
        max-width: 180px !important;
    }

    .site-footer p {
        max-width: 520px;

        font-size: 15px;
        line-height: 1.7;
    }

    .site-footer h5 {
        margin-bottom: 18px;

        font-size: 18px;
    }

    .site-footer ul {
        margin: 0;
        padding: 0;
    }

    .site-footer li {
        margin-bottom: 11px;
    }

    .site-footer a {
        font-size: 15px;
        line-height: 1.5;
    }

    .footer-social {
        flex-wrap: wrap;

        gap: 10px;

        margin-top: 20px;
    }

    .footer-bottom {
        align-items: center;

        gap: 12px;
    }
}


/* =========================================================
   MOBILE
   Below 768px
========================================================= */

@media (max-width: 767.98px) {

    .site-footer {
        padding: 50px 0 25px;
    }

    .site-footer .container {
        width: 100%;
        max-width: 100% !important;

        padding-left: 20px;
        padding-right: 20px;
    }

    .site-footer .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 2rem;

        margin-left: 0;
        margin-right: 0;
    }

    .site-footer .row > [class*="col-"] {
        width: 100%;

        padding-left: 0;
        padding-right: 0;
    }


    /* -------------------------
       BRAND AREA
    ------------------------- */

    .site-footer .clean-brand {
        display: inline-flex;

        margin: 0 0 18px !important;
        padding: 0 !important;
    }

    .site-footer .clean-brand:hover {
        padding-left: 0 !important;
    }

    .site-footer .clean-brand img {
        max-width: 170px !important;
    }

    .site-footer p {
        width: 100%;
        max-width: 540px;

        margin-bottom: 14px;

        font-size: 14px;
        line-height: 1.7;
    }


    /* -------------------------
       CONTACT
    ------------------------- */

    .site-footer .footer-contact {
        margin-top: 18px;
    }

    .site-footer .footer-contact p {
        display: flex;
        align-items: center;

        gap: 9px;

        margin-bottom: 10px;

        font-size: 14px;
    }

    .site-footer .footer-contact i {
        flex: 0 0 auto;

        margin-right: 0;
    }

    .site-footer .footer-contact a {
        min-width: 0;

        font-size: 14px;

        overflow-wrap: anywhere;
    }


    /* -------------------------
       SOCIAL ICONS
    ------------------------- */

    .site-footer .footer-social {
        display: flex;
        flex-wrap: wrap;

        gap: 10px;

        margin-top: 20px;
    }

    .site-footer .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 42px;

        width: 42px;
        height: 42px;

        padding: 0 !important;
    }

    .site-footer .footer-social a:hover {
        padding-left: 0 !important;
    }


    /* -------------------------
       FOOTER LINK SECTIONS
    ------------------------- */

    .site-footer h5 {
        margin: 4px 0 16px;
        padding-bottom: 10px;

        font-size: 17px;
    }

    .site-footer h5::after {
        width: 30px;
    }

    .site-footer ul {
        width: 100%;

        margin: 0;
        padding: 0;
    }

    .site-footer li {
        margin-bottom: 10px;
    }

    .site-footer a {
        font-size: 14px;
        line-height: 1.55;
    }


    /* -------------------------
       BOTTOM COPYRIGHT
    ------------------------- */

    .site-footer hr {
        margin: 35px 0 22px;
    }

    .site-footer .footer-bottom {
        display: flex;
        flex-direction: column;

        width: 100%;

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

        gap: 8px;

        text-align: center;
    }

    .site-footer .footer-bottom p {
        width: 100%;
        max-width: 100%;

        margin: 0;

        font-size: 13px;
        line-height: 1.6;

        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
   Below 576px
========================================================= */

@media (max-width: 575.98px) {

    .site-footer {
        padding: 42px 0 22px;
    }

    .site-footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-footer .row {
        --bs-gutter-y: 1.8rem;
    }

    .site-footer .clean-brand img {
        max-width: 155px !important;
    }

    .site-footer p {
        font-size: 13.5px;
        line-height: 1.65;
    }

    .site-footer .footer-contact p,
    .site-footer .footer-contact a {
        font-size: 13.5px;
    }

    .site-footer h5 {
        margin-bottom: 14px;

        font-size: 16px;
    }

    .site-footer li {
        margin-bottom: 9px;
    }

    .site-footer a {
        font-size: 13.5px;
    }

    .site-footer .footer-social a {
        flex-basis: 40px;

        width: 40px;
        height: 40px;

        font-size: 15px;
    }

    .site-footer hr {
        margin: 30px 0 20px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   320px - 400px
========================================================= */

@media (max-width: 400px) {

    .site-footer {
        padding-top: 38px;
    }

    .site-footer .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-footer .clean-brand img {
        max-width: 145px !important;
    }

    .site-footer p {
        font-size: 13px;
    }

    .site-footer .footer-contact p,
    .site-footer .footer-contact a {
        font-size: 13px;
    }

    .site-footer h5 {
        font-size: 15.5px;
    }

    .site-footer a {
        font-size: 13px;
    }

    .site-footer .footer-bottom p {
        font-size: 12px;
    }
}




/* 1. Header eke udadi (Dark bg) - Toggler eke sudu box eka ain karamu */
.site-header .navbar-toggler {
    background: transparent !important;
    background-color: transparent !important; 
    border: 1px solid rgba(255, 255, 255, 0.6) !important; /* Sudu paata podi border ekak */
    border-radius: 6px !important;
    box-shadow: none !important;
}

/* 2. Udadi Icon eka White karanawa (SVG eka balenma denawa) */
.site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* 3. Scroll kalama (White bg) - Toggler border eka dark karanawa */
.site-header.scrolled .navbar-toggler {
    border: 1px solid var(--primary-color) !important;
}

/* 4. Scroll kalama Icon eka Dark karanawa */
.site-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 42, 99, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}



html {
  scroll-behavior: smooth !important;
}


#domain-search {
  scroll-margin-top: 150px; 
}



/* =========================================================
   IHOSTER HOMEPAGE - BALANCED SIDE GUTTER FIX
   Full-width backgrounds + comfortable inner spacing
========================================================= */

/* Large desktop / 2K / Full HD */
@media (min-width: 1200px) {

    .hero-section .container,
    .hosting-trust-strip .container,
    .home-solutions-section .container,
    .hosting-journey-section .container,
    .ih-about-section .container,
    .faq-section .container,
    .section-padding .container {
        width: 100% !important;
        max-width: 1480px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* Laptop */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .hero-section .container,
    .hosting-trust-strip .container,
    .home-solutions-section .container,
    .hosting-journey-section .container,
    .ih-about-section .container,
    .faq-section .container,
    .section-padding .container {
        max-width: 100% !important;

        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}


/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {

    .hero-section .container,
    .hosting-trust-strip .container,
    .home-solutions-section .container,
    .hosting-journey-section .container,
    .ih-about-section .container,
    .faq-section .container,
    .section-padding .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}


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

    .hero-section .container,
    .hosting-trust-strip .container,
    .home-solutions-section .container,
    .hosting-journey-section .container,
    .ih-about-section .container,
    .faq-section .container,
    .section-padding .container {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}


/* Very small mobile */
@media (max-width: 400px) {

    .hero-section .container,
    .hosting-trust-strip .container,
    .home-solutions-section .container,
    .hosting-journey-section .container,
    .ih-about-section .container,
    .faq-section .container,
    .section-padding .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


@media (max-width: 575.98px) {
    .site-header .mega-menu .mega-item h5 {
        font-size: 16px;
    }
}


/* =========================================================
   iHoster.net - FIXED RESPONSIVE HEADER & MEGA MENU
========================================================= */

/* Desktop & Large Screen (992px and above) */
@media (min-width: 992px) {
    .site-header .container {
        max-width: 1500px !important;
    }

    .site-header .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        
    }

    .site-header .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        align-items: center;
        justify-content: space-between;
    }

    .site-header .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        margin: 0 auto !important;
    }

    .site-header .header-actions {
        display: flex;
        align-items: center;
        gap: 20px !important;
        margin-left: 0 !important;
    }

    /* Mega Menu Desktop Hover */
    .mega-dropdown {
        position: static !important;
    }

    .mega-dropdown .mega-menu {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(10px) !important;
        transition: all 0.25s ease !important;
    }

    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.show .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

/* Medium Laptop Fix (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .navbar-nav .nav-link {
        font-size: 15px !important;
        padding: 8px 10px !important;
    }

    .header-phone {
        display: none !important;
    }

    .btn-signup {
        padding: 10px 18px !important;
        font-size: 14px !important;
    }
}

/* Mobile & Tablet Devices (Below 992px) */
@media (max-width: 991.98px) {
    body {
        padding-top: 72px !important;
    }

    .site-header .navbar {
        padding: 10px 16px !important;
    }

    /* Bootstrap Collapse fix: Hidden when collapsed, visible ONLY when .show */
    .site-header .navbar-collapse {
        display: none !important;
    }

    .site-header .navbar-collapse.show {
        display: block !important;
    }

    /* Floating Dropdown Mobile Menu */
    .site-header #mainNavbar {
        position: absolute !important;
        top: 100% !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-height: calc(100vh - 85px);
        max-height: calc(100dvh - 85px);
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 16px !important;
        background: linear-gradient(145deg, #102f5c 0%, #0b2349 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 22px 45px rgba(4, 24, 54, 0.35) !important;
        z-index: 999999 !important;
    }

    /* Mobile Nav List */
    .site-header .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .navbar-nav .nav-link {
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        padding: 12px 14px !important;
        border-radius: 10px;
        width: 100%;
        display: block;
    }

    .site-header .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Mobile Mega Menu Accordion style */
    .site-header .mega-dropdown {
        position: static !important;
    }

    .site-header .mega-menu {
        position: static !important;
        width: 100% !important;
        padding: 10px !important;
        margin-top: 6px !important;
        background: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: none !important;
    }

    .site-header .mega-menu .mega-left {
        display: none !important; /* Hide left banner text on mobile */
    }

    .site-header .mega-menu .mega-item {
        padding: 10px !important;
        background: #ffffff !important;
        border-radius: 10px !important;
        margin-bottom: 6px;
    }

    .site-header .mega-menu .mega-item h5 {
        color: var(--primary-color) !important;
        font-size: 15px !important;
    }

    .site-header .mega-menu .mega-item p {
        color: var(--text-muted) !important;
        font-size: 13px !important;
    }

    /* Mobile Action Buttons */
    .site-header .header-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        gap: 10px !important;
    }

    .site-header .header-actions .btn-signup {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Mobile Toggler Button */
    .site-header .navbar-toggler {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }

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

    .site-header.scrolled .navbar-toggler {
        border-color: var(--primary-color) !important;
    }

    .site-header.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 42, 99, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

/* Small Mobile Display Adjustments (480px & below) */
@media (max-width: 480px) {
    .site-header .clean-brand-text {
        font-size: 20px !important;
    }

    .site-header #mainNavbar {
        left: 8px !important;
        right: 8px !important;
        padding: 12px !important;
    }
}


/* =========================================================
   iHoster.net - RESPONSIVE HEADER FIXES (ALL DEVICES)
========================================================= */

/* Large Desktop (1401px and above) */
@media (min-width: 1401px) {
    .site-header .container {
        max-width: 1500px !important;
        padding: 0 20px;
    }
    
    .site-header .navbar-nav {
        gap: 20px !important;
    }
    
    .site-header .header-actions {
        gap: 20px !important;
    }
}

/* Medium Desktop & Laptop (992px to 1400px) - FIX FOR CUT OFF BUTTON */
@media (min-width: 992px) and (max-width: 1400px) {
    .site-header .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Shrink the Brand/Logo slightly to save space */
    .site-header .navbar-brand img {
        max-width: 180px !important; 
    }
    
    .site-header .clean-brand {
        margin-right: 15px !important;
    }

    /* Reduce gap between menu items */
    .site-header .navbar-nav {
        gap: 5px !important;
        margin: 0 auto !important;
    }

    /* Reduce padding and font size of menu links */
    .site-header .navbar-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    /* Hide the phone number on medium screens to save space */
    .site-header .header-phone {
        display: none !important;
    }

    /* Adjust Right side Actions (Cart, Bell, Button) */
    .site-header .header-actions {
        margin-left: auto !important;
        gap: 12px !important;
    }

    /* Shrink Signup/Profile button */
    .site-header .btn-signup {
        padding: 10px 15px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        min-width: auto !important;
    }
}

/* =========================================================
   Tablet & Mobile Devices (Below 992px)
========================================================= */
@media (max-width: 991.98px) {
    body {
        padding-top: 72px !important;
    }

    .site-header .navbar {
        padding: 10px 16px !important;
    }

    /* Force Navbar Collapse behavior to override 'display: flex' */
    .site-header .navbar-collapse {
        display: none !important;
    }

    .site-header .navbar-collapse.show {
        display: block !important;
    }

    /* Mobile Floating Dropdown Menu */
    .site-header #mainNavbar {
        position: absolute !important;
        top: 100% !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-height: calc(100vh - 85px);
        max-height: calc(100dvh - 85px);
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 16px !important;
        background: linear-gradient(145deg, #102f5c 0%, #0b2349 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 22px 45px rgba(4, 24, 54, 0.35) !important;
        z-index: 999999 !important;
    }

    /* Mobile Nav List Items */
    .site-header .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .navbar-nav .nav-link {
        color: #ffffff !important;
        font-size: 16px !important;
        padding: 12px 14px !important;
        border-radius: 10px;
        width: 100%;
        display: block;
    }

    /* Mobile Actions & Buttons */
    .site-header .header-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        gap: 12px !important;
    }

    .site-header .header-actions .btn-signup {
        width: 100% !important;
        text-align: center !important;
    }

    /* Mobile Menu Toggler */
    .site-header .navbar-toggler {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }

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



/* =========================================================
   IHOSTER BILLING HEADER - FINAL RESPONSIVE FIX
   Place this at the VERY BOTTOM of your CSS file
========================================================= */

/* =========================================================
   1. Desktop & Laptop View (992px and up)
========================================================= */
@media (min-width: 992px) {
    .site-header .navbar-collapse,
    .custom-dark-header .navbar-collapse {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-basis: auto !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .site-header .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin: 0 auto !important;
    }
}

/* Medium Laptops Fix for Overlapping Buttons */
@media (min-width: 992px) and (max-width: 1400px) {
    .site-header .navbar-nav {
        gap: 5px !important;
    }
    .site-header .navbar-nav .nav-link {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }
    .site-header .header-actions {
        gap: 10px !important;
    }
    .site-header .btn-login {
        font-size: 13px !important;
        padding: 10px 14px !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   2. Mobile & Tablet View (Below 992px)
========================================================= */
@media (max-width: 991.98px) {
    
    /* FIX: Hide the menu by default, show ONLY when toggled */
    .site-header .navbar-collapse,
    .custom-dark-header .navbar-collapse {
        display: none !important; /* Makes sure it doesn't stay stuck open */
    }

    /* Show when hamburger button is clicked */
    .site-header .navbar-collapse.show,
    .custom-dark-header .navbar-collapse.show {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 15px !important;
        right: 15px !important;
        width: calc(100% - 30px) !important;
        
        /* Premium Dark Theme for Mobile Menu */
        background: linear-gradient(135deg, #061b42 0%, #0b2a63 65%, #123f8c 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 18px !important;
        padding: 20px !important;
        margin-top: 12px !important;
        
        box-shadow: 0 20px 40px rgba(6, 27, 66, 0.35) !important;
        z-index: 999999 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    /* Fix Navigation Links inside the Dark Mobile Menu */
    .site-header .navbar-collapse .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        margin: 0 !important;
    }

    .site-header .navbar-collapse .navbar-nav .nav-link {
        color: #ffffff !important;
        background: transparent !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        padding: 12px 16px !important;
        border-radius: 10px !important;
        display: block !important;
    }

    .site-header .navbar-collapse .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Fix Mobile Action Icons (Cart, Bell, Dashboard) & Login Button */
    .site-header .mobile-actions-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        width: 100% !important;
    }

    .site-header .mobile-actions-wrapper > div {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    /* Push the Hello Button to a full-width new line */
    .site-header .mobile-actions-wrapper > div:has(.btn-login) {
        width: 100% !important;
        order: 10 !important; 
        margin-top: 5px !important;
    }

    .site-header .mobile-actions-wrapper .btn-login {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
}



/* =========================================================
   Fix for Cut Off Home Icon on Desktop (Large Screens)
========================================================= */
@media (min-width: 1200px) {
    .site-header .container {
        max-width: 1550px !important; /* Container thoda motha kela */
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .site-header .navbar-nav {
        gap: 12px !important; /* Menu items madhil gap kami kela */
    }
    
    .site-header .header-actions {
        gap: 12px !important; /* Right side chya buttons (Cart, Bell, Login, Home) madhil gap kami kela */
        flex-wrap: nowrap !important;
    }
    
    .site-header .header-dashboard-icon {
        display: inline-flex !important;
        flex-shrink: 0 !important; /* Icon la lahan honyapasun thambavte */
        min-width: 44px !important;
    }
    
    .site-header .btn-login {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}



/* =========================================================
   Laptop Header Cut-off Fix (For screens up to 1450px)
========================================================= */
@media (min-width: 992px) and (max-width: 1450px) {
    /* 1. Header Container එකට දෙපැත්තෙන් ආරක්ෂිත ඉඩක් (Padding) ලබාදීම */
    .site-header .container,
    .custom-dark-header .container {
        max-width: 100% !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    /* 2. Logo එක මදක් කුඩා කිරීම */
    .site-header .navbar-brand img,
    .custom-dark-header .navbar-brand img {
        max-width: 175px !important;
    }


    .site-header .navbar-nav {
        gap: 6px !important;
        margin: 0 auto !important;
    }
    
    .site-header .navbar-nav .nav-link,
    .custom-dark-header .navbar-nav .nav-link {
        font-size: 14px !important;
        padding: 8px !important;
        white-space: nowrap !important;
    }


    .site-header .header-actions {
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }


    .site-header .header-dashboard-icon,
    .site-header .btn-login,
    .site-header #notificationMenu {
        flex-shrink: 0 !important;
    }
}


/* =========================================================
   FOOTER - MATCH BILLING FOOTER (append at very bottom)
========================================================= */

/* ---------- All screens ---------- */
.site-footer {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(10, 127, 38, 0.15), transparent 35%),
    linear-gradient(135deg, #0b2348 0%, #0b2a63 60%, #14376f 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  right: -150px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(18, 109, 49, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* Headings (footer.php uses h3) */
.site-footer h3 {
  position: relative;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Links */
.site-footer ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.site-footer ul li {
  margin-bottom: 12px;
}

.site-footer ul li a {
  color: #b5c6e8 !important;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
}

.site-footer ul li a:hover {
  color: #ffffff !important;
  padding-left: 0;
}

/* Contact */
.site-footer .footer-contact a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
}

.site-footer .footer-contact i {
  color: #5ee07a;
}

/* Divider */
.site-footer hr {
  opacity: 1;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Tablet / Desktop only (mobile stays as it is) ---------- */
@media (min-width: 768px) {

  .site-footer {
    padding: 80px 0 30px;
  }

  .site-footer .clean-brand {
    margin-bottom: 16px !important;
  }

  .site-footer .col-lg-4 > p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
  }

  .site-footer .footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
  }

  .site-footer .footer-contact i {
    font-size: 14px;
    margin-right: 10px;
  }

  .site-footer .footer-contact a {
    font-size: 14px;
  }

  .site-footer .footer-social {
    gap: 10px;
    margin-top: 24px;
  }

  .site-footer .footer-social a {
    width: 44px;
    height: 44px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-footer .footer-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    padding-left: 0;
  }

  .site-footer hr {
    margin: 40px 0 20px;
  }

  /* Copyright lines stacked on the left, like billing */
  .site-footer .footer-bottom {
    display: block;
    text-align: left;
  }

  .site-footer .footer-bottom p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  .site-footer h3 {
    font-size: 17px;
  }
}