/* ===================================
   HOSTOY - CUSTOM FIXES
   =================================== */

/* Fix: Mobile Hero Section Padding - Reduced from 160px to 80px */
@media (max-width: 767px) {
    .main-heading6 {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }

    /* Also fix hero6 min-height on mobile for better spacing */
    .hero6:not(.hero-simple) {
        min-height: auto !important;
        padding: 60px 0 0px 0 !important;
        /* Reduced bottom padding */
        margin-bottom: 0 !important;
    }

    .hero6.hero-simple {
        padding: 60px 0 40px 0 !important;
    }

    /* Fix: Reduce space between navbar and hero content on mobile */
    .hero6 .container .row.align-items-center {
        margin-top: 0 !important;
    }

    /* Fix: Increase space after hero buttons - target the specific space20 div after buttons */
    .main-heading6 .buttons+.space20 {
        height: 60px !important;
        display: block !important;
    }

    /* Fix: Disable glitchy text animation on mobile for hero heading */
    .hero6 .text-anime-style-3 {
        opacity: 1 !important;
    }

    .hero6 .text-anime-style-3 * {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Ensure split text elements stay visible */
    .hero6 .split-line {
        opacity: 1 !important;
    }
}

/* Tablet adjustments */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .main-heading6 {
        padding-top: 80px !important;
    }
}

/* ===================================
   Fix: Footer Copyright Mobile Alignment
   =================================== */
@media (max-width: 767px) {

    /* Center align copyright text on mobile */
    .vl-copyright6 p {
        text-align: center !important;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    /* Center align the copyright column */
    .vl-copyright6 .col-lg-6:first-child {
        text-align: center !important;
        margin-bottom: 20px;
    }

    /* Center align the links column on mobile */
    .vl-copyright6 .col-lg-6:last-child {
        text-align: center !important;
        margin-top: 10px;
    }

    /* Ensure links list is centered */
    .vl-copyright6 ul.list-inline {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
}

/* ===================================
   Fix: Mobile Nav Active State Visibility
   =================================== */

/* Prevent mobile menu items from having green background (invisible on green bg) */
.vl-offcanvas-menu nav ul li.active>a,
.vl-offcanvas-menu nav ul li:hover>a {
    background-color: transparent !important;
    color: #fff !important;
}

/* Ensure mobile menu links stay visible with white default color */
.vl-offcanvas-menu nav ul li a {
    color: #fff !important;
    transition: color 0.3s ease;
}

.vl-offcanvas-menu nav ul li a:hover {
    color: #000 !important;
    background-color: transparent !important;
}

/* ===================================
   Fix: Mobile Menu Button Visibility
   =================================== */

/* Ensure hamburger button is visible on mobile */
.vl-offcanvas-toggle {
    color: #000 !important;
    font-size: 24px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.vl-offcanvas-toggle i {
    color: #000 !important;
}

/* ===================================
   Fix: Pricing Table Mobile Spacing
   =================================== */
@media (max-width: 767px) {
    .pricing-card .order-btn {
        margin-top: 25px !important;
        display: block !important;
        width: 100% !important;
    }

    .pricing-card .features-list {
        margin-bottom: 10px !important;
    }

    /* Remove large bottom space from pricing grid now that compare button is hidden */
    .pricing-grid {
        margin-bottom: 30px !important;
    }

    .mobile-compare-link {
        display: block;
        text-align: center;
        margin-top: 15px;
        color: var(--vtc-text-title2);
        /* Green color */
        font-weight: 600;
        text-decoration: none;
        font-size: 14px;
    }

    .mobile-compare-link:hover,
    .mobile-compare-link:active,
    .mobile-compare-link:focus {
        color: #1e293b !important;
        background: transparent !important;
        text-decoration: underline;
    }
}

/* ===================================
   Fix: Desktop Menu Hover - Prevent Mobile Inheritance
   =================================== */

/* Only apply green hover color to desktop menu, not mobile */
@media (min-width: 992px) {
    .vl-main-menu ul li a:hover {
        color: #000 !important;
    }
}

/* ===================================
   Fix: Client Area Button in Mobile Menu
   =================================== */

/* Make the Client Area button visible in mobile offcanvas menu */
.vl-offcanvas .theme-btn14 {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: transparent !important;
}

.vl-offcanvas .theme-btn14:hover {
    background: #fff !important;
    color: #03C343 !important;
    border-color: #fff !important;
}

/* ===================================
   Fix: About Us - Team Social Icons
   =================================== */

.team-social-fix {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 15px;
}

.team-social-fix a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--vtc-bg-common-14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vtc-text-title2);
    transition: all 0.3s ease;
}

.team-social-fix a:hover {
    background: #fff !important;
    /* Fix: Background White */
    color: var(--vtc-text-title2) !important;
    /* Fix: Icon Green */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Add subtle shadow for visibility on white */
}

/* ===================================
   Fix: Legal Pages Hero Spacing
   =================================== */
/* Simple hero for legal/account pages - shorter height */
/* Desktop: Added ~30px extra space as requested */
.hero6.hero-simple {
    padding-top: 90px !important;
    padding-bottom: 40px !important;
    min-height: auto !important;
    background-size: cover;
    background-position: center;
}

@media (max-width: 991px) {
    .hero6.hero-simple {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
}

@media (max-width: 767px) {
    .hero6.hero-simple {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }
}

/* ===================================
   Fix: Desktop UI Adjustments (Hosting Pages)
   =================================== */

/* "All plans include..." text spacing */
.pricing-section .heading6 .mt-16 {
    margin-bottom: 30px !important;
}

/* Compare Plans button spacing */
.compare-plans-btn {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Order Now button spacing */
.pricing-card .theme-btn13 {
    margin-top: 20px !important;
}

/* ===================================
   Fix: Hero Section Padding (Desktop)
   =================================== */
/* Reduce bottom padding for non-legal pages */
/* Reduce bottom padding for non-legal pages */
@media (min-width: 992px) {
    .hero6:not(.hero-simple) {
        padding-top: 220px !important;
        padding-bottom: 50px !important;
        margin-bottom: 0px !important;
        min-height: auto !important;
    }
}

/* ===================================
   Fix: Legal Pages Link Visibility
   =================================== */
/* Ensure links in legal content (.sp) are visible on hover */
.sp a:hover {
    color: var(--vtc-text-title2) !important;
    /* Green theme color */
    background: transparent !important;
}

/* =================================== 
   Fix: Legal Text Spacing Request 
   =================================== */
/* Add 50px margin top to the Legal text header */
.hero6.hero-simple .main-heading6 {
    margin-top: 50px !important;
}

/* ===================================
   Fix: Home Page Mobile Hero Spacing
   =================================== */
@media (max-width: 767px) {

    /* Add top margin to the rating text on mobile */
    .hero6 .main-heading6 .sub-title {
        margin-top: 35px !important;
        display: inline-block;
    }

    /* Reduce space between buttons and customer avatars section */
    .hero6 .main-heading6 .buttons+.space20 {
        height: 20px !important;
        /* Reduced from 60px */
    }
}