/* 
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
*/

/* Add your custom styles here */

/* Global */
/* .subhead {
    padding-bottom: 1rem !important;
} */

.h1-heading,
.h2-heading,
.h3-heading,
.h4-heading,
.h5-heading,
.h6-heading {
	padding-top: 1rem !important;
/*     padding-bottom: 1rem !important; */
}

.header-accent {
    font-weight: 200;
}

.secondary {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.accent {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header h1 {}

/* Optional: Apply to remove underline on link(s) */
.link-no-underline {
	text-decoration: none !important;
}

/* Fix: This overrides the "Link Hover" setting under Settings > Typography.
   The behavior caused issues with social icon effects. */

a:hover {
	text-decoration: none !important;
}

/* Elementor Editor Fix: Text box bottom gap */
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0px;
}

/* Custom Buttons: Implemented to override issues with buggy global styles */
.elementor-button {
    background-color: #000 !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    font-size: 16px !important;
}

.elementor-button:hover {
    background-color: #444 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.elementor-button-icon {
	font-size: 16px;
}

.btn-secondary a {
    color: #5b5b5b !important;
    background-color: #ccc !important;
}

.btn-secondary a:hover {
    color: #ccc !important;
    background-color: #5b5b5b !important;
}

.btn-tertiary a {
    color: #5b5b5b !important;
    background-color: #eee !important;
}

.btn-tertiary a:hover {
    color: #ccc !important;
    background-color: #5b5b5b !important;
}

.btn-link .elementor-button-content-wrapper {
    border-bottom: 1px solid #000 !important;
}

.btn-link .elementor-button-icon {
    fill: #000 !important;
}

.btn-link a {
    color: #000 !important;
    background-color: transparent !important;
    text-transform: uppercase !important;
    padding: 0 !important;
}

.btn-link a:hover {
    color: #ccc !important;
    background-color: transparent !important;
}

.btn-link a:hover .elementor-button-icon {
    fill: #ccc !important;
}

.btn-link a:hover .elementor-button-content-wrapper {
    border-bottom: 1px solid #ccc !important;
}

/* Main Navigation */
.sub-arrow svg {
    fill: #fff;
}

.menu-item:hover .sub-arrow svg {
    fill: #fff;
}

@media screen and (min-width: 1024px) {
    .sub-arrow svg {
        fill: #fff;
    }
	
	.menu-item:hover .sub-arrow svg {
    	fill: #fff;
	}
}

/* Footer */
.subfooter a {
    font-size: 12px;
    color: #cfd0d2;
}

.subfooter a:hover {
    color: #888;
}

/* Footer Link Overrides */
.footer-link a {
    color: #fff !important;
}

.footer-link a:hover {
    color: #fff !important;
}

/* Remove icons on mobile navigation */
@media (max-width: 767px) {
    .main-footer .elementor-icon-list-item .elementor-icon-list-icon {
        display: none;
    }
}

/* Utility Header Link Overrides */
.utility-header-link a {
    color: #fff !important;
}

.utility-header-link a:hover {
    color: #fff !important;
}

/* Back to Top */
#back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: #333;
	border-radius: 50%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	text-decoration: none;
	transition: background-color 0.3s;
	font-size: 24px;
}

#back-to-top svg {
	width: 24px;
	height: 24px;
	fill: white;
}

#back-to-top:hover {
	background-color: #555;
}

/* Icon Emphasis: Reusable bounce animation for any icon */
.icon-bounce {
  display: inline-block;
  animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Flip Card */
.flip-card {
  perspective: 1000px;
}

.flip-card .flip-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

@media (hover: hover) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card .flip-card-front,
.flip-card .flip-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.flip-card .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
}

/* Resize to crop images 
 * Example Usage in Elementor > Advanced > CSS Classes:
 * image-box h-300 pos-center
 * 
 * image-box   → enables cropping
 * h-300       → sets height to 300px
 * pos-center  → optional, controls crop focus
*/

.image-box {
  width: 100%;
  overflow: hidden;
  display: block;
  position: relative;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-pos, center);
  display: block;
}

/* Height presets for desktop */
.h-200 {
  height: 200px;
}
.h-300 {
  height: 300px;
}
.h-400 {
  height: 400px;
}
.h-500 {
  height: 500px;
}

/* Optional position helpers */
.pos-center {
  --img-pos: center center;
}
.pos-top {
  --img-pos: top center;
}
.pos-bottom {
  --img-pos: bottom center;
}
.pos-left {
  --img-pos: left center;
}
.pos-right {
  --img-pos: right center;
}

@media (max-width: 768px) {
  .image-box {
    height: auto !important;
  }
  .image-box img {
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Form zoom fix on mobile */
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="file"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="checkbox"],
input[type="radio"],
input[type="image"],
input[type="button"],
input[type="submit"],
select:focus,
select,
textarea,
label,
button {
    font-size: 16px !important;
}