/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://everdinetours.com/
 Description:  Child theme for Hello Elementor
 Author:       Sociocult Agency
 Author URI:   https://sociocultagency.com/
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* Overflow-fix */
html,
body {
    width: 100% !important;
    overflow-x: hidden !important;
}

/* Custom Scrollbar (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F2F2F2;
}

::-webkit-scrollbar-thumb {
  background: #000000 !important;
  border-radius: 10px;
  border: 2px solid #F2F2F2;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000 !important;
}

/* Custom Scrollbar (Firefox) */
* {
  scrollbar-width: thin;
  scrollbar-color: #000000 #F2F2F2;
}

/* Text Select Color */
::selection {
  background: #FBB03A !important;
  color: #fff !important;         
}
/* For WebKit browsers (Safari, Chrome) */
::-moz-selection {
  background: #FBB03A!important;
  color: #fff !important;
}

/* Line Height Removal */
.line-height-fix {
    line-height: 0px !important;
}

/* Elementor Button Icon Hover Effect */
.elementor-button .elementor-button-icon {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px !important;
}
.elementor-button:hover .elementor-button-icon {
  transform: rotate(360deg);
}

/* Reset button styling for Elementor Mega Menu dropdown toggles */
.e-n-menu-dropdown-icon {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Popup Z-index change */
.my-popup {
  z-index: 99999 !important;
}

/* Elementor dialog box close Icon */
.dialog-close-button {
  padding: 5px !important;
  border-radius: 100px !important;
}

/* Menu Icon Rotate Effect */
.asterick-rotate {
  display: inline-block;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Form Field Elementor */
.elementor-form input:focus,
.elementor-form textarea:focus,
.elementor-form select:focus {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Elmentor Default Post Grid Readmore Button */
.elementor-post__read-more {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  padding: 5px 12px !important;
  line-height: 40px !important;
}

.elementor-post__read-more:hover {
  background-color: #FBB03A !important;
  color: #ffffff !important;
} 

/* Hide heading by default on rest archieve pages */
.blog-page-heading { 
    display: none; 
}

/* Show heading only on the blog/posts page */
.blog .blog-page-heading { 
    display: block; 
}

/* Hide dynamic breadcrumb item on blog page */
.blog .hide-on-blog { 
    display: none; 
}
/* Show heading for rest archieve pages */
.hide-on-blog { 
    display: block; 
}

/* Elementor Popups */
.en-popup {
  z-index: 99999999 !important;
}

/* Hover effect for home project cards - loop item */
.hover-card {
    overflow: hidden !important; /* clips the zoom so it doesn't spill past the card edges */
}
.hover-card img {
    display: block !important;
    width: 100% !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.hover-card:hover img {
    transform: scale(1.08) !important;
}

/* Elementor Pagination*/
.elementor-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px !important;
    margin-top: 50px !important;
    padding: 0 !important;
}

.elementor-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 100px !important;
    border: 1px solid #e0e0e0 !important;
    color: #666 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.elementor-pagination a.page-numbers:hover {
    background: #DFDFDF !important;
    border-color: #DFDFDF !important;
    color: #000000 !important;
}

.elementor-pagination .page-numbers.current {
    background: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
    font-weight: 500 !important;
}

/* Prev/Next arrows if your pagination type includes them */
.elementor-pagination .page-numbers.next,
.elementor-pagination .page-numbers.prev {
    font-weight: 500 !important;
}

/* Elementor cta */
.elementor-cta {
  border-radius: 30px !important;
}

/* Gradient custom text style */
.text-gradient {
    background: linear-gradient(
        180deg,
        #f5f5f5 0%,
        #FBB03A 50%,
        #4E9C5A 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Motion Effects Container Border Radius */
.elementor-motion-effects-container {
  border-radius: 30px !important;
}

/* Elementor Slides - Hero Section */
.elementor-main-swiper {
    border-radius: 50px !important;
}

/* Elementor Slides - Pagination */
.swiper-pagination-bullet {
    width: 25px;
    height: 5px;
    border-radius: 100px;
}

.deensimc-toggle {
  Background-color: transparent !important;
  background-image: none !important;
}