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

 .globeContainerParent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Ensure nothing extends beyond this container */
}

/* Globe container */
#globeContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

/* Payment provider logo animations */
.payment-provider-logo {
  opacity: 1 !important; /* Force all logos to be visible at all times */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.payment-provider-logo.animated {
  animation: fadeIn 0.8s ease-in forwards;
  opacity: 1 !important;
}

.payment-provider-logo.fade-out {
  animation: fadeOut 0.4s ease-out forwards;
  opacity: 0 !important;
}

#overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  padding: 10px;
  height: 100%;
  z-index: 99;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #083110 100%);
  background-blend-mode: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  position: relative;
  will-change: transform;
  max-width: 95%;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  transform: translateY(0px);
  transition: transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.overlay-content.active {
  transform: translateY(-40px);
  transition: transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.overlay-content h2 {
  font-size: 60px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 10px;
  color: #ffffff;
}

.overlay-content p {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #ffffff;
}

.region-search {
  width: 60% !important;
  padding: 16px 20px 16px 62px !important;
  border-radius: 16px !important;
  border: none;
  outline: none;
  color: #3b3b3b;
  background: #fff;
  background-image: url("../hello-theme-child-master/images/search-icon.png");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 36px;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 20px;
}

/* Region titles container styling */
#region-titles {
  width: 100%;
  opacity: 0;
  gap: 10px;
  height: auto;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    max-height 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    margin-top 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

#region-titles:not(:empty) {
  opacity: 1;
  max-height: 60vh;
}

.region-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-button {
  padding: 12px 28px;
  border-radius: 16px !important;
  background-color: rgba(0, 0, 0, 0.114);
  border: 2px solid rgba(126, 126, 126, 0.896);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.region-button:hover, .region-button:focus {
  background-color: rgba(230, 188, 35, 0.211);
  border-color: rgba(255, 255, 255, 0.4);
}

.region-button.selected {
  background-color: #e0b85c48;
  color: #ffffff;
  border-color: #e0b95c;
}

.region-button.continent-button {
  background-color: rgba(0, 120, 50, 0.25);
  border: 2px solid rgba(0, 200, 80, 0.6);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

.region-button.continent-button:hover {
  background-color: rgba(0, 150, 80, 0.35);
  border-color: rgba(0, 220, 100, 0.8);
}

.region-button.continent-button.selected {
  background-color: rgba(0, 170, 80, 0.5);
  border-color: rgba(0, 255, 120, 1);
  color: #ffffff;
}

/* Styling for payment provider logos */
.payment-provider-logo {
  position: relative;
  cursor: default;
  z-index: 10;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.payment-provider-logo img {
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(26, 221, 81, 0.6));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
  will-change: transform, filter; /* Optimize for animation performance */
}


/* media queries */

@media (max-width: 1800px) {
  .overlay-content h2 {
    font-size: 55px;
  }
}

@media (max-width: 1600px) {
  .overlay-content h2 {
    font-size: 45px;
  }
  .region-search {
    width: 80%;
  }

  .region-buttons {
    gap: 8px;
}

  .region-button {
    padding: 12px 18px;
  }
}

@media (max-width: 1400px) {
  .overlay-content h2 {
    font-size: 40px;
  }
  .overlay-content p {
    font-size: 18px;
  }
  .region-search {
    width: 80%;
    background-size: 34px;
    padding: 15px 16px 15px 58px;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  #overlay {
    top: 0;
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #083110 100%);
    justify-content: center;
  }

  .overlay-content.active {
    transform: translateY(-20px);
  }

  .overlay-content h2 {
    font-size: 32px;
    font-weight: 400;
  }

  .overlay-content p {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .region-search {
    width: 80%;
    padding: 12px 16px 12px 50px;
    border-radius: 12px;
    background-size: 16px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .region-buttons {
    gap: 6px;
}

  .region-button {
    padding: 8px 16px;
    border-width: 1px;
    border-radius: 10px;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  #overlay {
    top: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(-0deg, rgba(255, 255, 255, 0) 0%, #083110 100%);
    justify-content: end;
  }
  .overlay-content.active {
    transform: translateY(-40px);
  }
  .overlay-content h2 {
    font-size: 58px;
    font-weight: 500;
  }

  .overlay-content p {
    font-size: 24px;
  }

  .region-search {
    width: 100%;
    padding: 18px 20px 18px 60px;
    background-size: 32px;
    font-size: 18px;
  }
  .region-button {
    padding: 12px 20px;
  }
}

@media (max-width: 950px) and (orientation: landscape) {
  #overlay {
    width: 50%;
  }
  .overlay-content.active {
    transform: translateY(-40px);
  }
  .overlay-content h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .overlay-content p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .region-search {
    width: 100%;
    padding: 10px 10px 10px 50px;
    border-radius: 8px;
    background-position: left 16px center;
    background-size: 16px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .region-buttons {
    gap: 6px;
  }
  .region-button {
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 14px;
  }
}

@media (max-width: 950px) and (orientation: portrait) {
  #overlay {
    height: 60%;
  }
  .overlay-content h2 {
    font-size: 58px;
    font-weight: 500;
  }

  .overlay-content p {
    font-size: 24px;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
}

@media (max-width: 768px) and (orientation: landscape) {
  #overlay {
    width: 45%;
  }
  .overlay-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .overlay-content p {
    font-size: 14px;
  }
  .region-search {
    padding: 10px 10px 10px 30px;
    border-radius: 12px;
    background-position: left 12px center;
    background-size: 12px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .region-button {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .overlay-content.active {
    transform: translateY(60px);
  }
  .overlay-content h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .overlay-content p {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .region-search {
    padding: 14px 10px 14px 50px;
    border-radius: 12px;
    background-position: left 16px center;
    background-size: 16px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .region-buttons {
    gap: 6px;
  }
  .region-button {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
  }
}

@media (max-width: 420px) and (orientation: portrait) {
	.region-search {
		    width: 90% !important;
	}
	
  .overlay-content h2 {
    font-size: 36px;
	  line-height:46px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .overlay-content p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .region-button {
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 14px;
  }
}


