/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* =========================
   CUSTOM TABS + GRID – BASE
   ========================= */


/* .custom-tabs-wrapper {
    margin: 20px 0;
}


.custom-tabs-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

/* SCROLLABLE NAV – ONE LINE ONLY */
.custom-tabs-nav {
    display: flex;
    flex: 1 1 auto;              /* take remaining width between arrows */
    gap: 12px;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;          
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.custom-tabs-nav::-webkit-scrollbar {
    display: none;
}


.custom-tabs-arrow {
    background: #fff;
    border: 1px solid #ddd;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: .2s;
}


button.custom-tabs-arrow.left,
button.custom-tabs-arrow.right {
    background: #ffffff;
    border: none;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

button.custom-tabs-arrow.right i.fas.fa-angle-right,
button.custom-tabs-arrow.left i.fas.fa-angle-left {
    color: #000 !important;
}

.custom-tabs-arrow:hover {
    border-color: #B52025;
    color: #B52025;
}
.custom-tabs-arrow.disabled {
    opacity: .3;
    pointer-events: none;
}


.custom-tab-btn {
    flex: 0 0 auto;              
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.custom-tab-btn:hover {
    color: #B52025;
    background: transparent;
}
.custom-tab-btn.active {
    color: #B52025;
    border-bottom-color: #B52025;
}
button.custom-tab-btn:focus {
    background: transparent;
}


.custom-tabs-content {
    position: relative;
    min-height: 200px;
}

.custom-tab-pane {
    display: none;
    animation: fadeIn .3s ease;
}
.custom-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.custom-tabs-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.spinner {
    border: 4px solid #eee;
    border-top-color: #B52025;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}


.custom-projects-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}


.project-card {
    background: #fff;
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

img.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #353635;
    margin: 0 0 15px 0;
}

a.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #B42025;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}
a.project-link:hover {
    opacity: 0.8;
}
.project-link svg {
    transition: transform 0.3s ease;
}
.project-link:hover svg {
    transform: translateX(5px);
}


@media (max-width: 1024px) {
    .custom-tabs-wrapper {
        margin: 16px 0;
    }

    .custom-tabs-nav-wrapper {
        gap: 6px;
        margin-bottom: 24px;
    }

    .custom-tabs-arrow {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 16px;
    }

    .custom-tabs-nav {
        gap: 10px;
    }

    .custom-tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .custom-projects-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 24px;
    }
}


@media (max-width: 768px) {
    .custom-tabs-wrapper {
        margin: 10px 0 16px;
    }

    .custom-tabs-nav-wrapper {
        gap: 4px;
        margin-bottom: 18px;
    }

    .custom-tabs-arrow {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 13px;
    }

    .custom-tabs-nav {
        gap: 6px;
        border-bottom-width: 1px;
    }

    .custom-tab-btn {
        padding: 7px 10px;

    }

    .custom-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    padding: 0 25px 0 25px;
    }

    .project-content {
        padding: 18px;
    }

    .project-title {
        font-size: 18px;
        line-height: 24px;
    }
}



@media (max-width: 481px) and (min-width: 769px) {
    .custom-projects-grid {
        grid-template-columns: 1fr;
    }
} */


