/*
Theme Name:     Hello Elementor Child
Template:       hello-elementor
Version:        1.0.0
Description:    A child theme for Hello Elementor
*/

/* Import parent styles */
@import url("../hello-elementor/style.css");

/*Home*/
.main-slider-three.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
    display: block; 
} 
/* Main Slide Container */
.custom-slider {
  width: 100%;
 /* height: 100vh;*/
  position: relative;
  overflow: hidden;
}
.page-content a {
    text-decoration: none !important;
}
/* Slide */
.slide {
  width: 100vw;
  height:900px;
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
  animation: zoomIn 10s ease-in-out infinite;
  position: relative;
}

/* Zoom effect for background */
@keyframes zoomIn {
  0% { background-size: 110%; }
  50% { background-size: 120%; }
  100% { background-size: 110%; }
}

/* Dark overlay */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(36 70 140 / 68%);
  top: 0;
  left: 0;
  z-index: 1;
}

/* Slide Content Container */
.slide-content { 
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0px 130px 0;
  width:1140px;
  margin:0 auto;
  height: 100%;
  color: white;
}

/* Left text content */
.left-content {
  max-width: 65%;
}
.left-content p {
    width: 83%;
    font-size: 18px;
    line-height: 32px;
}

/* Animate heading from top */
.left-content h1 , .left-content h2 {
  font-family: 'Poppins', sans-serif; 
  font-size: 58px;
  font-weight:700;
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeFromTop 1.2s ease-out forwards;
  animation-delay: 0.3s; 
}

/* Emphasized span color */
.left-content h2 span {
  color: #ff3c00;
}

/* Button: fade from bottom */
.slide-btn, .contact-btn {
  display: inline-block;
  text-decoration:none !important;
  padding: 10px 30px;
  background: #E31E24;
  color: white;
  font-size: 18px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeFromBottom 1s ease-out forwards;
  animation-delay: 1.2s;
}
.slide-btn:hover, .contact-btn:hover{
   color:#ffff;
   background:#204692;
}

a.contact-btn {
    margin-left: 20px;
}
/* White overlay shape on right */


/* Product image container */
.right-img {
  max-width: 60%;
  opacity: 0;
  position: absolute;
  right: 0px;
  animation: slideInRight 1.5s ease-out forwards;
  animation-delay: 2s;
}

/* Inner image */
.product-img {
  width: 100%;
  filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.5));
}

/* Animations */
@keyframes fadeFromTop {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeFromBottom {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mobile responsive */
@media(max-width:1024px){
    .single-product-container .elementor-container-wrapper{
       width:100% !important;
    }
    .slide-content {
    flex-direction: unset;
    text-align: left;
    padding: 40px 20px;
  }
  .left-content{
    max-width: 100%;
    position: static;
    animation-delay: 0s;
  }
  .right-img{
     display:none;
  }
  .slide-content{
     width:auto;
     padding-top:200px;
  }
  .slide {
  width: 100vw;
  height:600px;
  }
}
@media(max-width:768px){ 
  .left-content h2, .product-short h3, .product-section h3 {
    font-size: 27px !important;
    line-height: 37px !imortant;
  }
  .product-overview{
    flex-direction: column;
        padding: 0px !important;
  }
  .single-product-container .elementor-container-wrapper{
     padding:30px 20px !important;
  }
  .left-content p, .product-description p{
     font-size:14px;
     line-height:20px;
  }
  .slide-btn, .contact-btn{
     padding: 9px 17px;
     font-size: 15px;
  }
  .elementor-product-item{
     width:100% !important;
     margin-bottom:30px;
  }
  .elementor-products-grid{
     display:block !important;
  }
  .elementor-product-excerpt{
     font-size:14px !important;
     line-height:20px !important;
  }
  .elementor-product-title{
     font-size:20px;
     line-height:28px;
  }
  .elementor-product-item a.link{
     font-size:14px !important;
  }
}

@media screen and (min-device-width: 769px) and (max-device-width: 1024px) { 
    .left-content h2 {
        font-size: 50px;
        line-height: 70px;
    }
    .left-content p {
        font-size: 18px;
        line-height: 28px;
    }
    .elementor-product-item{
       width: calc(50% - 10px) !important;
     }
}
/*features*/
.e-con-full.services-one__single {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

.e-con-full.services-one__single::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f3f3f3;
    border-radius: 50%;
    z-index: -1;
    transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s ease;
}

.e-con-full.services-one__single:hover::before {
    top: 1%;
}
.e-con-full.services-one__single.e-flex.e-con.e-child img,
.e-con-full.services-one__single.e-flex.e-con.e-child h3,
.e-con-full.services-one__single.e-flex.e-con.e.child .elementor-widget-text-editor {
    transition: transform 0.5s ease;
}

.e-con-full.services-one__single.e-flex.e-con.e-child:hover img,
.e-con-full.services-one__single.e-flex.e-con.e.child:hover h3,
.e-con-full.services-one__single.e-flex.e-con.e.child:hover .elementor-widget-text-editor {
    transform: scale(1.03);
}

/*Contact form*/
.contact-form p label {
    margin-bottom: 20px;
    width: 100%;
    font-family: 'Poppins';
    margin-bottom:20px;
}
.contact-form input, textarea{
    font-size: 16px;
    height: 52px;
    border: 1px solid #ccc !important;
}
textarea{
   height:120px;
}
.wpcf7-not-valid-tip{
  padding: 9px 0;
}
input[type="submit"] {
    padding: 14px 35px;
  background: #E31E24;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  line-height:23px;
  font-family:'poppins';
}
input[type="submit"]:hover{
    background: #E31E24;
}
a.link{
  text-decoration:none;
  color:#737372;
}
/*Products*/
.elementor-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.elementor-product-item {
    width: calc(33.33% - 20px);
    border: 1px solid #ddd;
    text-align: left;
    background: #fff;
    border-bottom: 5px solid #9e12165e;
}
.elementor-product-image img {
    max-width: 100%;
    height: auto;
}
.elementor-product-title {
    font-size: 18px !important;
    margin: 10px 0;
    font-size: 22px;
    line-height: 28px;
}
.elementor-product-title a{
   text-decoration: none !important;
    color:#24468c;
 }
.elementor-product-excerpt {
    font-size: 16px;
    color: #737372;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.elementor-product-content{
   padding:20px;
}
.elementor-product-item a.link {
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    line-height: 22px;
    color: #e31e24;
}
.elementor-product-item a.link:hover{ 
   color:#24468c;
}
.elementor-product-image img {
    width: 100%;
    height: 282px;
    object-fit: contain;
}
.page-title {
    background: url(https://www.mahalaxmimetal.com/wp-content/uploads/2025/07/title-bg.jpg) center center no-repeat;
    background-size: cover;
    height: 450px;
    margin-top: -156px;
    padding: 230px 0 0 0;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-title .overlay {
     position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 70, 140, 0.7); 
  z-index: 9999; 
  pointer-events: none; 
      z-index: 1;
}
.page-title h2 {
  position: relative;
  z-index: 10000;
  color: #fff; 
}
.single-product-container{
	background-color:#e9e9e985;
}
.single-product-container .elementor-container-wrapper{
  width:1140px;
  margin:-40px auto 0 auto;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
     position: relative;
  z-index: 2; 
}
.product-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 50px;
}

.product-short {
  flex: 1;
  min-width: 320px;
}

.product-short h3, .product-section h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #204692;
}

.product-thumbnail {
  flex: 1;
  text-align: center;
  object-fit: cover;
  margin-top:50px;
}

.product-thumbnail img {
  max-width: 100%;
  height: 420px;
  object-fit:cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 12px solid #f4ffffeb;
}

.product-thumbnail img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.product-description h3 {
  font-size: 24px;
  color: #1d1d1d;
  margin-bottom: 20px;
  border-left: 5px solid #00c3ff;
  padding-left: 15px;
}

.product-description p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555;
}
.product-description ul {
  list-style: none;
  padding-left: 20px;
}
.specification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specification-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.specification-list li strong {
  width: 185px; 
  min-width: 185px;
  display: inline-block;
  font-weight: 600;
}
.product-description ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 22px;
}

.product-description ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E31E24;
  font-size: 21px;
  line-height: 1;
}
.product-description, product-section {
    margin-bottom: 30px;
}
#contact-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 9999;
}
.popup-box {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    z-index: 9999; 
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background:#E31E24;
    text-align: center;
    color: #fff;
    border-radius:50px;
}
.popup-box h3 {
    text-align: center;
    font-size: 24px;
    line-height: 35px;
    margin-bottom: 20px;
    color:#204692;
}
.popup-box input[type="submit"] {
    text-align: center;
    margin: 0 auto;
    display: block;
}