/*
    
TemplateMo 556 Catalog-Z

https://templatemo.com/tm-556-catalog-z

*/

:root {
    --tm-bg: #0B1220;
    --tm-surface: #162033;
    --tm-color-primary: #3EE0C2;
    --tm-color-primary-dark: #0F8F84;
}

body {
    background-color: var(--tm-bg);
}

p { line-height: 1.8; }

a { 
    text-decoration: none;
    transition: all 0.3s ease; 
}
a:hover { color:var(--tm-color-primary); }
.container-fluid { max-width: 1770px; margin-left: auto; margin-right: auto; }
.tm-container-content { max-width: 1770px; margin-left: auto; margin-right: auto; }
.tm-container-small { max-width: 1050px; }
.btn { border-radius: 0; }
.btn-primary {
    background: linear-gradient(132.21deg, var(--tm-color-primary) 11.37%, var(--tm-color-primary-dark) 88.44%);
    border: 0;
    border-radius: 5px;
    padding: 12px 50px 14px;
    font-size: 1.2rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--tm-color-primary-dark);
}

.btn-primary.disabled, 
.btn-primary:disabled {
    background: var(--tm-color-primary-dark);
    pointer-events: all;
    cursor: not-allowed;
}

.btn-outline-danger {
    color: var(--tm-color-primary);
    border-color: var(--tm-color-primary);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    color: #fff;
    background-color: var(--tm-color-primary);
    border-color: var(--tm-color-primary);
}

.form-control {
	padding: 10px 20px;
	width: 100%;
	height: auto;
}

.form-group { margin-bottom: 25px; }
.tm-btn-big { padding: 12px 90px 14px; }

.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler {
    color: #ffffff;
    border-color: #ffffff;
}
.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.navbar-expand-lg {
    background-color: var(--tm-bg) !important;
    padding: 15px 0;
    border: none;
}
.navbar-brand {
    font-size: 1.6rem;
    color: #ffffff !important;
}
.navbar-brand .brand-highlight {
    color: var(--tm-color-primary);
    font-weight: bold;
}

.navbar-brand i { font-size: 2rem; }

.tm-hero {
    min-height: 80px;
    background: transparent;
    padding: 25px 0 25px 0;
}

.tm-hero-title {
    display: none;
}

.tm-hero-title .title-highlight,
.tm-footer-title .title-highlight,
.title-highlight {
    color: var(--tm-color-primary);
    font-weight: bold;
}

.tm-mt-60 { margin-top: 20px; }
.home-page-content.tm-mt-60 { margin-top: 0; }
.home-creative-after-search { margin-top: 0; }
.row.mb-4.home-first-section { margin-top: 0 !important; }
.tm-mb-50 { margin-bottom: 50px; }
.tm-mb-74 { margin-bottom: 74px; }
/* .tm-mb-90 { margin-bottom: 10px; } */
.tm-text-primary { color: var(--tm-color-primary); }
.tm-text-secondary { color: var(--tm-color-primary-dark); }
a.tm-text-primary:hover { color:#666666; }
.tm-bg-gray { background-color: var(--tm-bg); }

/* Section Title Styles */
h2.tm-text-primary {
    font-size: 1.7rem;
    margin-bottom: 0;
}

.row.mb-4 {
    margin-bottom: 15px !important;
    margin-top: 25px !important;
}
.tm-input-paging {
    width: 40px;
    border-radius: 0;
    border: 1px solid #CCCCCC;
    background: #f4f4f4;
    text-align: center;
}

.nav-item { margin-right: 30px; }
.nav-item:last-child { margin-right: 0; }

.navbar-nav .nav-link {
    color: #ffffff !important;
    border-bottom: none !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
    text-decoration: none;
}

.navbar-nav .nav-link.active {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}

.nav-link-1.active {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}
.nav-link-1:hover {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}

.nav-link-2.active {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}
.nav-link-2:hover {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}

.nav-link-3.active {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}
.nav-link-3:hover {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}

.nav-link-4.active {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}
.nav-link-4:hover {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}

/* Navigation Dropdown Styles */
.navbar .dropdown-menu {
    background-color: var(--tm-bg) !important;
    border: 1px solid var(--tm-color-primary);
    border-radius: 0;
    margin-top: 0;
}

.navbar .dropdown-item {
    color: #ffffff !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: var(--tm-surface) !important;
    color: var(--tm-color-primary) !important;
}

.navbar .dropdown-item.active {
    background-color: var(--tm-surface) !important;
    color: var(--tm-color-primary) !important;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-toggle {
    color: #ffffff !important;
}

.navbar .dropdown-toggle:hover {
    color: var(--tm-color-primary) !important;
    border-bottom: none !important;
}

.tm-search-input {
    width: 360px;
    border-radius: 5px 0 0 5px;
    padding: 12px 15px;
    color: #000000 !important;
    background-color: #ffffff;
    border: none;
}

.tm-search-input:focus {
    border-color: var(--tm-color-primary);
    box-shadow: 0 0 0 0.25rem rgb(62 224 194 / 0.28);
    color: #000000 !important;
}

.tm-search-input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #999999 !important;
    opacity: 1; /* Firefox */
}
  
.tm-search-input::-ms-input-placeholder { /* Microsoft Edge */
    color: #999999 !important;
}

.tm-search-btn {
    color: white;
    background: linear-gradient(132.21deg, var(--tm-color-primary) 11.37%, var(--tm-color-primary-dark) 88.44%);
    border: none;
    width: 100px;
    height: 50px;
    margin-left: 0;
    border-radius: 0 5px 5px 0;
}

p, .tm-text-gray { color: #999; }
.tm-text-gray-light { color: #CCC; }
.tm-text-gray-dark { color: #666; }

/* Video title styling - make video titles white */
.tm-gallery .tm-text-gray,
.tm-gallery .tm-text-gray a,
.tm-gallery .tm-text-gray span {
    color: #ffffff !important;
}

.tm-gallery .tm-text-gray a:hover {
    color: var(--tm-color-primary) !important;
}

.tm-video-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.tm-video-item img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.8;
}

.tm-video-item figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.tm-video-item figcaption::before,
.tm-video-item figcaption::after {
    pointer-events: none;
}

.tm-video-item figcaption,
.tm-video-item figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tm-video-item figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.tm-video-item h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.tm-video-item h2,
.tm-video-item p {
    margin: 0;
}

.tm-video-item p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.tm-gallery div.d-block { animation: show .5s ease; }

@keyframes show {
    0% {
    	opacity: 0;
    	transform: scale(0.9);
    }
    100% {
    	opacity: 1;
    	transform: scale(1);
    }
}

.tm-paging{
    transform: translateY(-2px);
}

.tm-paging-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    color: #999;
    background-color: #EEEEEE;
    margin-right: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tm-paging-link:hover,
.tm-paging-link.active {
    background: linear-gradient(132.21deg, var(--tm-color-primary) 11.37%, var(--tm-color-primary-dark) 88.44%);
    color: #fff; 
}

.tm-paging .tm-paging-link:first-child {
    margin-left: 10px;
}

/* .tm-paging .tm-paging-link:last-child {
    margin-right: 0;
} */

/*---------------*/
/***** Ming *****/
/*---------------*/

figure.effect-ming {
	background: #030c17;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
    font-size: 1.3em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover h2 {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption { background-color: rgba(58,52,42,0); }
figure.effect-ming:hover img { opacity: 0.4; }

.tm-footer-links li {
    list-style: none;
    margin-bottom: 5px;    
}

.tm-footer-links li a { color: #999999; }
.tm-footer-links li a:hover { color: var(--tm-color-primary); }

.tm-social-links li {
    list-style: none;
    margin-right: 15px;
}

.tm-social-links li:last-child { margin-right: 0; }

.tm-social-links li a  {
    color: #999999;
    width: 44px;
    height: 44px;
    display: flex;
    background-color: #fff;
    align-items: center;
    justify-content: center;
}

.tm-social-links li a:hover {
    color: #fff;
    background: linear-gradient(132.21deg, var(--tm-color-primary) 11.37%, var(--tm-color-primary-dark) 88.44%);
}

.tm-footer { 
    font-size: 0.95rem; 
    border-top: 1px solid #243044;
    padding-top: 40px;
    margin-top: 40px;
}
.tm-footer-title { 
    font-size: 1.4rem;
    color: #ffffff;
}

/* Videos */
#tm-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    margin-bottom: 90px;
    overflow: hidden;
}

#tm-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

#tm-video-control-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    color: #e1e1e1;
}

.tm-video-details {
    height: 100%;
    padding: 40px;
}

/* About */
.tm-row-1640 { max-width: 1640px; }
.tm-about-2-col { max-width: 716px; }
.tm-about-3-col { max-width: 540px; }

.tm-about-2-col,
.tm-about-3-col {
    margin-bottom: 50px;
}

.tm-about-icon-container {
    width: 150px;
    height: 150px;
    border: 1px solid var(--tm-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-about-img-text { max-width: 940px; }

/* Contact */
select.form-control { border-radius: 0; }
select.form-control option { height: 30px; }

select:not([multiple]) {
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-image: url(../public/img/select-arrow.png);
    padding: 14px 20px;
    padding-right: 20px;
    color: #666;
}

.mapouter{
    position:relative;
    height:480px;
    width:100%;
    max-width: 480px;
}

.gmap-canvas {
    overflow:hidden;
    background:none!important;
    height:480px;
    width:100%;
}

.tm-social { display: flex; }

.tm-social li {
    list-style: none;
    margin-bottom: 20px;
    margin-right: 15px;
}

.tm-social li a i {
    width: 40px;
    height: 40px;
    color: #666666;
    background-color: #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tm-social li a:hover i {
    color: #fff;
    background: linear-gradient(132.21deg, var(--tm-color-primary) 11.37%, var(--tm-color-primary-dark) 88.44%);
}

.form-control,
input:-internal-autofill-selected,
select:not([multiple]) {
    color: var(--tm-color-primary) !important;
}

.tm-search-input.form-control {
    color: #000000 !important;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color:  var(--tm-color-primary);
    opacity: 1; /* Firefox */
}

.tm-search-input.form-control::placeholder {
    color: #999999 !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 50px;
        right: 0px;
        background: var(--tm-bg) !important;
        width: 200px;
        padding: 15px;
        border-left: 1px solid #243044;
    }

    .tm-container-content { max-width: 870px; }
    .tm-contact-form, .tm-address-col, .mapouter { max-width: 100%; }
    .tm-people-row { max-width: 900px; }
}

@media (max-width: 767px) {
    .tm-paging-col { flex-direction: row; }
    .tm-paging { flex-wrap: wrap; }
    .tm-about-img-text { max-width: 640px; }
    .tm-about-2-col, .tm-about-3-col { margin-bottom: 50px; }
    
    /* Align container with search bar - reduce padding */
    .tm-container-content {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* Force col-11 to be full width on mobile */
    .col-11 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove row negative margins and reset gutter */
    .tm-container-content .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        --bs-gutter-x: 10px !important;
    }
    
    /* Reset column padding for mobile */
    .tm-container-content .row > [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 575px) {
    .tm-container-content { 
        max-width: 420px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .tm-search-form {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        justify-content: center;
    }

    .tm-search-input {
        width: 100%;
        max-width: 360px;
        padding: 10px 12px;
    }

    .tm-people-row { max-width: 420px; }
    
    /* Mobile font size optimization */
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    h2.tm-text-primary {
        font-size: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem;
    }
    
    /* Equal space above and below the search bar */
    .tm-hero {
        padding: 25px 15px 25px 15px;
        min-height: 50px;
    }

    .home-creative-after-search {
        margin-top: 0;
    }

    .home-page-content.tm-mt-60 {
        margin-top: 0;
    }
    
    .tm-search-btn {
        height: 44px;
        width: 80px;
    }
    
    .tm-search-form {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .row.mb-4 {
        margin-bottom: 10px !important;
        margin-top: 15px !important;
    }
    
    /* Force col-11 to be full width on mobile */
    .col-11 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove row negative margins and reset gutter */
    .tm-container-content .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        --bs-gutter-x: 10px !important;
    }
    
    /* Reset column padding for mobile */
    .tm-container-content .row > [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media (max-width: 400px) {
    .tm-btn-big { padding: 12px 50px 14px; }
}

@media (max-width: 334px) {
    .tm-social-links {
        flex-wrap: wrap;
        justify-content: start !important;
    }

    .tm-social-links li { margin-right: 3px; }
}