/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/* Hide default cursor */
/* Hide default cursor only on devices with fine pointer (mouse) */
@media (pointer: fine) {
    * {
        cursor: none;
    }

    *:hover {
        cursor: none;
    }
}

/* Custom cursor - only show on devices with fine pointer */
@media (pointer: fine) {
    .cursor {
        position: fixed;
        width: 20px;
        height: 20px;
        background-color: var(--global-palette5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        border: 2px solid var(--global-palette1);
        top: 0;
        left: 0;
        will-change: transform;
    }

    /* Optional hover effects */
    a:hover~.cursor,
    button:hover~.cursor {
        transform: translate(-50%, -50%) scale(1.5);
        background-color: var(--global-palette1);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    p:hover~.cursor,
    h1:hover~.cursor,
    h2:hover~.cursor,
    h3:hover~.cursor,
    span:hover~.cursor {
        transform: translate(-50%, -50%) scale(1.1);
        background-color: var(--global-palette8);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
}

/* Hide cursor on touch devices */
@media (pointer: coarse) {
    .cursor {
        display: none !important;
    }
}


/* Optional hover effects */
a:hover~.cursor,
button:hover~.cursor {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--global-palette1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

p:hover~.cursor,
h1:hover~.cursor,
h2:hover~.cursor,
h3:hover~.cursor,
span:hover~.cursor {
        transform: translate(-50%, -50%) scale(1.1);
            background-color: var(--global-palette8);
            transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-banner {
  position: relative;  
}

.ic-1 {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.acf-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop: 5 columns */
@media (min-width: 1024px) {
    .acf-menu-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

/* Large tablets: 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .acf-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.menu-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1000px;
    margin-bottom: 1rem;
    position: relative;
    background: #f5f5f5;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.05);
}


.menu-item-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.1rem !important;
    color: var(--global-palette3);
    line-height: 1.3;
    text-align: center;
}

.menu-item-description {
    font-size: 0.95rem;
    color: var(--global-palette3);
    line-height: 1.5;
    margin: 0;
}

.menu-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.menu-item-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Tablet responsive */
@media (max-width: 767px) {
    .acf-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .menu-item-title {
        font-size: 1.1rem;
    }

    .menu-item-description {
        font-size: 0.9rem;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .acf-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .menu-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .menu-item-image {
        max-width: 30%;
    }
    .menu-item-description, .menu-item-title {
        text-align: left;
    }


}

/* Custom Scrollable Container */
.scroll-container {
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
    background-color: var(--global-palette9);
    border-radius: 25px;
}

/* Custom Scrollbar Styling */
.scroll-container::-webkit-scrollbar {
    width: 12px;
}

.scroll-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #333333;
}

.scroll-container::-webkit-scrollbar-thumb:active {
    background-color: #555555;
}

/* Remove scrollbar arrows/buttons */
.scroll-container::-webkit-scrollbar-button {
    display: none;
}

.scroll-container::-webkit-scrollbar-button:start:decrement,
.scroll-container::-webkit-scrollbar-button:end:increment {
    display: none;
}

/* Firefox Scrollbar */
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #000000 transparent;
}

/* Optional: Smooth scrolling */
.scroll-container {
    scroll-behavior: smooth;
}


.scroll-container::-webkit-scrollbar {
    width: 12px;
}

/* Track */
.scroll-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}


.menu-tabs .kt-tabs-title-list {
    position: sticky;
    top: 30px;
    height: min-content;
}