/* 
    Theme Name: Hello Elementor Child
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    Template:  hello-elementor
	Version: 1.0
	Text Domain: hello-elementor-child
*/


/* New Medola Home section */

html, body{
	overflow-x: hidden;
}

* {
	font-family: 'poppins', sans-serif !important;
}

body {
	padding-top: 80px;
}

.my-sticky-header {
  position: fixed;
  top: 0;
  z-index: 999;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-box-one:hover svg path {
	fill: #6E77F8;
	background: #ffff !important;
}

.icon-box-one:hover .elementor-icon-box-title{
	color: #ffff !important;
}

.icon-box-one:hover .elementor-icon-box-description {
	color: #ffff !important;
}

.icon-box-one:hover .elementor-icon {
	background: #ffff !important;
}

.icon-box-two .elementor-icon-box-wrapper:hover svg path {
	fill: #ffff;
	background-color: #6E77F8;
}

.icon-box-two .elementor-icon {
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}


/* Style for Contact Form 7 subscription form */
.subscribe-form {
    display: flex;
    gap: 20px;
		font-family: poppins;
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
		max-height: fit-content !important;
}

.subscribe-form .subscribe-email {
		width: 100%;
	}
	.subscribe-form .subscribe-submit {	
	width: 40%;
	}

.subscribe-form input[type="email"] {
    width: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 100px;
    font-size: 15px;
    color: rgba(148, 163, 184, 1);
    transition: all 0.3s ease;
	  font-family: poppins;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(148, 163, 184, 0.39);
   
}

.subscribe-form input[type="submit"] {
    background: #6E77F8;
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-submit input:hover {
	background-color: #5862F5;
}

.subscribe-form .wpcf7-spinner {
		display: none;
}

.wpcf7 form .wpcf7-response-output {
		padding: 0 !important;
		margin: 0 !important;
		font-size: 15px;
	 	border: 2px solid #46b450 !important;
}

.spin-image img {
  animation: spin 10s linear infinite;
}

:target {
  scroll-margin-top: 80px; 
}

.scroll_top svg {
	color: #6E77F8; 
  background: #fff; 
  border-radius: 50%; 
  box-shadow: 0px 6px 12px rgba(110, 119, 248, 0.6);
}

/* Quick Links */
.quick-links span.elementor-icon-list-text {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease; 
}

.quick-links span.elementor-icon-list-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; 
  width: 100%;
  height: 2px; 
  background-color: #6E77F8; 
  transform: scaleX(0);              
  transform-origin: center;          
  transition: transform 0.3s ease;   
}

.quick-links span.elementor-icon-list-text:hover::after {
  transform: scaleX(1); 
}


/* Popup overlay */
#popupForm {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
	
}

#popupForm .popup-content {
  background: #fff;
	border: 2px solid #6E77F8;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;     
  padding: 50px 40px 0px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
  overflow: auto;      
}

#popupForm .popup-close {
  position: absolute;
  top: 1px; 
  right: 16px;
  font-size: 40px;
  color: #6E77F8;
  cursor: pointer;
}

#popupForm .wpcf7 form label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: block;
  margin-bottom: 6px;   
}

#popupForm .wpcf7 textarea {
  height: 100px;    
  max-height: 150px;    
  resize: vertical;     
}

#popupForm .wpcf7 input,
#popupForm .wpcf7 textarea,
#popupForm .wpcf7 select{
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
	margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border 0.3s;
}

#popupForm .wpcf7 input:focus,
#popupForm .wpcf7 textarea:focus,
#popupForm .wpcf7 select:focus {
  border-color: #6E77F8;
  outline: none;
}

#popupForm .wpcf7 select {
  appearance: none;              /* Removes default browser styling */
  -webkit-appearance: none;      /* Safari */
  -moz-appearance: none;         /* Firefox */
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236E77F8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center;  
  background-size: 16px;
  padding-right: 40px;           /* Space for arrow */
  cursor: pointer;
}

#popupForm .wpcf7 input[type="submit"] {
  background: #6E77F8;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
  width: 100%;
}

#popupForm .wpcf7 input[type="submit"]:hover {
  background: #5059d6;
}

#popupForm .wpcf7-response-output {
	margin-top: -70px !important;
	margin-bottom: 50px !important;
	text-align: center;
}

@keyframes popupFade {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subscribe-form {
        gap: 8px;
    }
    
    .subscribe-form input[type="email"],
    .subscribe-form input[type="submit"] {
        padding: 14px 20px;
        font-size: 15px;
				font-weight: 400;
        height: 50px;
    }
}

/* Phones (portrait) */
@media only screen and (max-width: 480px) {
	.subscribe-now-btn button{
		padding: 12px 18px 12px 18px !important;
	}
}

/* For very small screens */
@media (max-width: 576px) {
   
	.subscribe-form input[type="email"],
    .subscribe-form input[type="submit"] {
        padding: 12px 20px;
        font-size: 13px;
				font-weight: 400;
        height: 50px;
    }
}







