/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'Toma Sans';
    src: url('/wp-content/themes/flatsome-child/fonts/TomaSans-Regular.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/TomaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Toma Sans';
    src: url('/wp-content/themes/flatsome-child/fonts/TomaSans-Bold.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/TomaSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
body, html {
    font-family: 'Toma Sans';
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6, .header-main .nav > li > a{
    font-family: 'Toma Sans';
    font-weight: 600;
}
.h2, h2 {
    font-size: 1.8em;
}
.h3, h3 {
    font-size: 1.35em;
}
.card_box{
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	background: white;
	color: #333;
	text-decoration: none;
	overflow: hidden;
	transition-property: color;
	transition-delay: 0.15s;
	box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
}
.card_box:hover {
	text-decoration: none;
}
.card_box.hover {
	color: white;
	transition-delay: 0;
}
.card_box, .card__image, .card__image::after, 
.card__author, .card__body, .card__border {
	transition-duration: 0.4s;
	transition-timing-function: cubic-bezier(0.51, 0.92, 0.24, 1);
}
.card__head {
	position: relative;
	padding-top: 70%;
}
.card__author {
	position: absolute;
	padding: 2em;
	left: 0;
	bottom: 0;
	color: white;
	transition-property: transform;
	transition-delay: 0.15s;
	z-index: 1;
}
.card_box.hover .card__author {
	transition-delay: 0;
}
.card__image {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	transform-origin: top center;
	transition-property: transform;
	transition-delay: 0.15s;
}
.card__image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.5;
	background: linear-gradient(30deg, rgba(26, 42, 99, .85), rgba(26, 42, 99, .5));
	transition-property: opacity;
	transition-delay: 0.15s;
}
.card_box.hover .card__image {
	transition-delay: 0;
}
.card_box.hover .card__image::after {
	opacity: 1;
	transition-delay: 0s;
}
.card__body {
	position: relative;
	padding: 2em;
	transition-property: transform;
	transition-delay: 0.15s;
}
.card__headline {
	font-weight: 400;
	margin: 0 0 0.8em;
	font-size: 1.5em;
	color: inherit;
}
.card__text {
	line-height: 1.5;
	margin: 0;
	opacity: 0.8;
	font-weight: 500;
	text-align: justify;
}
.card__border {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 6px;
	background: #dbac3c;
	transform: translateX(-101%);
	transition-property: transform;
	transition-delay: 0;
}
.card_box.hover .card__border {
	transform: none;
	transition-delay: 0.15s;
}
.card_box .author {
	display: flex;
	align-items: center;
	text-align: left;
}
.author__image {
	flex-shrink: 0;
	margin-right: 1em;
	width: 56px;
	height: 56px;
	border-radius: 100%;
	overflow: hidden;
	object-fit: cover;
}
.author__content {
	display: grid;
	grid-gap: 0.4em;
	font-size: 0.9em;
}
.author__header {
	margin: 0;
	font-weight: 600;
	font-size: 20px;
}
.author__subheader {
	line-height: 13px;
	margin: 0;
	opacity: 0.9;
}

#mouse-scroll {
  z-index: 10;
	bottom: 10px;
}
#mouse-scroll span{
  display: block;
  width: 5px; 
  height: 5px;
  transform: rotate(45deg);
  border-right: 2px solid #fff; 
  border-bottom: 2px solid #fff;
  margin: 0 0 3px 5px;
}
#mouse-scroll .mouse {
  height: 21px;
  width: 14px;
  border-radius: 10px;
  transform: none;
  border: 2px solid #ffffff;
  top: 170px;
}
#mouse-scroll .down-arrow-1 {
  margin-top: 6px;
}
#mouse-scroll .down-arrow-1, #mouse-scroll .down-arrow-2, #mouse-scroll .down-arrow-3 {
  -webkit-animation: mouse-scroll 1s infinite; 
    -moz-animation: mouse-scroll 1s infinite:
}
#mouse-croll .down-arrow-1 {
   -webkit-animation-delay: .1s; 
   -moz-animation-delay: .1s;
   -webkit-animation-direction: alternate;
}
#mouse-scroll .down-arrow-2 {
  -webkit-animation-delay: .2s; 
  -moz-animation-delay: .2s;
  -webkit-animation-direction: alternate;
}
#mouse-scroll .down-arrow-3 {
   -webkit-animation-delay: .3s;
   -moz-animation-dekay: .3s;
   -webkit-animation-direction: alternate;
}
#mouse-scroll .mouse-in {
  height: 5px;
  width: 2px;
  display: block; 
  margin: 5px auto;
  background: #ffffff;
  position: relative;
}
#mouse-scroll .mouse-in {
 -webkit-animation: animated-mouse 1.2s ease infinite;
  moz-animation: mouse-animated 1.2s ease infinite;
}
.section3 #mouse-scroll .mouse{
	border-color: #021926;
}
.section3 #mouse-scroll .mouse-in{
	background: #021926;
}
.section3 #mouse-scroll .down-arrow-1,.section3 #mouse-scroll .down-arrow-2,.section3 #mouse-scroll .down-arrow-3{
	border-color: #021926;
}
@-webkit-keyframes animated-mouse {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
     opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }
}
@-webkit-keyframes mouse-scroll {
  0% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  } 
}
@keyframes mouse-scroll {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.hkg-style8-figure {
	margin: 0;
    position: relative;
    overflow: hidden;
    background: #000000;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
}
.hkg-style8-figure:before{
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background-image: linear-gradient(180deg, transparent 25%, rgba(2, 25, 38, 0.5) 50%, #021926bf 75%);
}
.hkg-style8-figure * {
	transition: all 0.45s ease-in-out;
}
.hkg-style8-figure figcaption {
	position: absolute;
	top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
	border: 1px solid transparent;
	border-width: 1px 1px 0;
}
.hkg-style8-figure:hover figcaption{
	border-color: #fff;
}
.hkg-style8-figure .heading {
	overflow: hidden;
	-webkit-transform: translateY(50%);
	transform: translateY(50%);
	position: absolute;
	bottom: 0;
	width: 100%;
}
.hkg-style8-figure h2 {
	font-size: 20px;
	display: table;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
	text-align: center;
	width: auto;
	text-transform: uppercase;
	font-weight: 400;
	color: inherit;
}
.hkg-style8-figure h2 span {
	font-weight: 800;
}
.hkg-style8-figure h2:before,
.hkg-style8-figure h2:after {
	position: absolute;
	display: block;
	width: 1000%;
	height: 1px;
	content: '';
	background: white;
	top: 50%;
}
.hkg-style8-figure h2:before {
	left: -1000%;
}
.hkg-style8-figure h2:after {
	right: -1000%;
}
.hkg-style8-figure p {
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	position: absolute;
	width: 100%;
	padding: 0 20px;
	margin: 0;
	opacity: 0;
	line-height: 1.6em;
	font-size: 0.9em;
	color: inherit;
}
.hkg-style8-figure a {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: 1;
}
.hkg-style8-figure:hover img {
	opacity: 0.25;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}
.hkg-style8-figure:hover figcaption {
	top: 10%;
	bottom: 10%;
}
.hkg-style8-figure:hover p {
	opacity: 1;
	-webkit-transition-delay: 0.35s;
	transition-delay: 0.35s;
}

.transition-card {
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #e9ecef;
	overflow: hidden;
}
.transition-card:hover {
	transform: translateY(-12px) scale(1.03);
	box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
	border-color: #f1b44c;
}
.transition-card svg {
	filter: drop-shadow(0 3px 8px rgba(241, 180, 76, 0.4));
	transition: transform 0.4s ease;
}
.transition-card:hover svg {
	transform: scale(1.2) rotate(5deg);
}
.transition-card h5 {
	font-size: 1.22rem;
}
@media (max-width: 768px) {
	.transition-card {
		margin-bottom: 1.5rem;
	}
}
.btn-gold {
	background: linear-gradient(135deg, #f1b44c, #d89b3a);
	border: none;
	color: white;
	font-weight: 600;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	transition: all 0.3s ease;
}
.btn-gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(241, 180, 76, 0.4);
}
.btn-gold:disabled {
	opacity: 0.8;
	cursor: not-allowed;
}
.form-control, .form-select {
	border-radius: 0.5rem;
	padding: 5px 10px;
	font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
	border-color: #f1b44c;
	box-shadow: 0 0 0 0.2rem rgba(241, 180, 76, 0.25);
}
.invalid-feedback {
	font-size: 0.85rem;
}
.alert {
	border-radius: 0.75rem;
	font-size: 0.95rem;
}
textarea.form-control {
	min-height: 80px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.transition-card {
		margin-bottom: 0;
	}
}