/* ===================================
    Crafto - Conference
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
/* variable */
:root {     
    --base-color: #F34223; 
    --dark-gray: #2c2f61;
    --medium-gray: #7a777e;
    --alt-font: 'DM Sans', sans-serif;
    --primary-font: 'DM Sans', sans-serif;
}  
/* reset */
body { 
    font-size: 17px;
}
/* model popup */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
    background: var(--base-color);
    opacity: 0.9;
}
.subscribe-popup .mfp-close:before, .subscribe-popup .mfp-close:active:before {
    color: var(--white);
}
.subscribe-popup .newsletter-popup img {
    border-radius: 6px;
}
/* header */
.sticky .header-transparent .header-button .btn { 
    background-color: transparent;
    border-color: var(--dark-gray);
    color: var(--dark-gray);
}
.sticky .header-transparent .header-button .btn:hover {
    background-color: var(--dark-gray);
    color: var(--white);
    border-color:  var(--dark-gray);
} 
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 400;
} 
header .navbar-brand img {
    max-height: 35px;
}
.header-icon .icon > a {
    font-size: 16px;
}
header .btn.btn-rounded.btn-small {
    padding: 10px 32px;
}
.header-icon .icon .header-language > a, .header-icon .icon .header-cart > a {
    font-size: 16px;
}
.navbar .btn {
    font-size: 15px;
    font-weight: 400 !important;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 330px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a .submenu-icon-content {
    line-height: 22px;
    letter-spacing: normal;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-weight: 500;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    font-size: 14px;
    color: var(--medium-gray);
    letter-spacing: normal;
    font-weight: 400;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a img {
    width: 65px;
}
/* bg gradient color */
.bg-gradient-black-transparent {
    background: linear-gradient(306deg, rgba(0,0,0,0.5) 0%, rgba(240,244,253,0) 55%);
}
/* bg color */
.bg-midnight-blue {
    /* background-color: #1c1c1f; */
    background-color: #2c2f61;
}
.bg-dark-midnight-blue {
    background-color: #17161a;
    /* background-color: #2c2f61; */
}
.bg-light-blue {
    background-color: #f0f8ff;
} 
/* bg color transparent */
.bg-base-color-transparent {
    background-color: rgba(225, 89, 53, 0.9);
}
/* text color */
.body-text-color {
    color: #666469; 
}
a {
    color: #666469;
}
/* btn */
.btn-dark-midnight-blue {
    background-color: #191932;
    color: var(--white); 
}
.btn-dark-midnight-blue:hover {
    background-color: var(--white); 
    color: #191932;
}
/* border color */
.border-color-dark-blue {
    border-color: #303047 !important;
}
/* footer */
footer a {
    color: var(--medium-gray);
}
.footer-navbar a { 
    padding: 8px 18px;    
}
footer .footer-logo img {
    max-height: 35px;
}
.footer-navbar .nav-link:focus, .footer-navbar .nav-link:hover {
    color: var(--base-color);
}
/* input size */
.input-small, .textarea-small {
    font-size: 15px;
}
/*  subcribe style 01  */
.newsletter-style-01 input, .newsletter-style-01 input.is-invalid {
    padding-right: 70px;
}
/* event style 02  */ 
.time-table-box{
    flex-basis: 25%;
    padding: 40px 10px;
}
.inner-box > div {
    line-height: initial;
    margin-top: 7px;
}
/* countdown style 02  */ 
.countdown-style-02 .countdown-box .number {
    font-weight: 500;
}
.countdown-style-02 .countdown-box span {
    font-size: 15px;
    color: #fff;
    opacity: .5;
    font-weight: 400;
}
.countdown-style-02 .countdown-box:before {
    color: var(--base-color);
    opacity: 1;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 7.5rem;
    line-height: 6rem;
}
/* sidebar */
aside .btn-box-shadow:hover {
    -webkit-box-shadow: none;  
    box-shadow: none;
    -webkit-transform: none; 
    transform: none;
}
/* media query responsive */
@media (max-width: 1399px) {
    header .btn.btn-rounded.btn-small {
        padding: 10px 20px;
    }
}
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
    footer .newsletter-style-01 input {
        padding-left: 15px;
    }
    .footer-navbar a {
        padding-left: 10px;
        padding-right: 10px;
    }
    header .btn.btn-rounded.btn-small {
        padding: 8px 16px;
    }
}
@media (max-width: 991px) {
    .time-table-box{
        padding-top: 35px;
        padding-bottom: 35px;
    }
    header .btn.btn-rounded.btn-small {
        padding: 10px 26px;
    }
    header .header-button .btn.btn-transparent-white-light {
        color: var(--dark-gray);
        border-color: var(--dark-gray);
    }
    header .header-button .btn.btn-transparent-white-light:hover {
        border-color: var(--dark-gray);
        color: var(--white);
        background:  var(--dark-gray);
    }
}
@media (max-width: 767px) {
    .countdown-style-02 .countdown-box span {
        top: 0;
    }
    .newsletter-style-01 .btn {
        position: absolute;
        margin-top: 0;
        width: auto;
        border-radius: 0 4px 4px 0;
    }
    .page-title-extra-large h1 {
        font-size: 5.625rem;
        line-height: 5.2rem;
    }
}
/* team scroller styles */
.team-scroller-container {
    overflow: hidden;
    position: relative;
}

.team-scroller {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.team-scroller:active {
    cursor: grabbing;
}

.team-scroller.active {
    scroll-behavior: auto;
}

.team-scroller .team-card {
    pointer-events: none;
}

.team-scroller .team-card a,
.team-scroller .team-card .view-btn {
    pointer-events: auto;
}

.team-card {
    min-width: 350px;
    max-width: 350px;
    margin-bottom: 50px;
}

/* Alternating margin pattern for visual hierarchy */
.team-card:nth-child(odd) {
    margin-top: 40px;
}

.team-card:nth-child(even) {
    margin-top: 0;
}

.scroll-btn {
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.9;
}

.scroll-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(225, 89, 53, 0.4);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.team-scroll-nav {
    z-index: 5;
}

/* Hide scrollbar */
.team-scroller::-webkit-scrollbar {
    display: none;
}

@media (max-width: 575px) {
    header .btn.btn-rounded.btn-small {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .team-card {
        min-width: 300px;
        max-width: 300px;
    }
    
    .team-scroller {
        gap: 20px;
    }
    
    .team-card:nth-child(odd) {
        margin-top: 20px;
    }
    
    .scroll-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px;
    }
}

/* product scroller styles */
.product-scroller-container {
    overflow: hidden;
    position: relative;
}

.product-scroller {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.product-scroller:active {
    cursor: grabbing;
}

.product-scroller.active {
    scroll-behavior: auto;
}

.product-card {
    min-width: 420px;
    max-width: 420px;
    margin-bottom: 50px;
}

/* Alternating margin pattern for visual hierarchy */
.product-card:nth-child(odd) {
    margin-top: 40px;
}

.product-card:nth-child(even) {
    margin-top: 0;
}

.product-card-inner {
    height: 500px;
    transition: transform 0.3s ease;
}

.product-image {
    height: 100%;
    position: relative;
}

.product-hover-content {
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.product-card:hover .product-hover-content {
    opacity: 1 !important;
    transform: translateY(0);
}

.product-title h4 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-description p {
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.corner-images img {
    border: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.corner-images img:hover {
    transform: scale(1.1);
}

.product-card:hover .product-card-inner {
    transform: translateY(-10px);
}

.product-label h5 {
    color: #333 !important;
}

.mini-images img {
    border: none;
    transition: transform 0.3s ease;
}

.mini-images img:hover {
    transform: scale(1.1);
}

/* Hide scrollbar */
.product-scroller::-webkit-scrollbar {
    display: none;
}

@media (max-width: 575px) {
    .product-card {
        min-width: 350px;
        max-width: 350px;
    }
    
    .product-card-inner {
        height: 450px;
    }
    
    .product-scroller {
        gap: 20px;
    }
    
    .product-card:nth-child(odd) {
        margin-top: 20px;
    }
}