#masthead {
    height: 100%;
}

/* comic slider */

    .comic-slider-body {
      /*background: #1b0015;*/
      margin: 0 auto;
      font-family: Arial, sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
	  position:relative;
	  z-index:99;
    }

  
.slider-container {
  position: relative;
 width: 718px;
    height: 410px;
  perspective: 2000px; /* increased for better 3D */
  transform-style: preserve-3d;
}


    .slider-container .slide {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 22px;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 1.2s ease, opacity 1.2s ease, top 1.2s ease, height 1.2s ease;
  z-index: 1;
  opacity: 1;
  filter: blur(2px);
}

.slider-container .slide.active {
  opacity: 1;
  filter: blur(0px);
}


    .slider-container .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slider-container .slide.active {
      z-index: 10;
    }

  
    
    .slider-container .slide.hide-right {
          filter: blur(0px);
  pointer-events: none;
  animation: slideFlipOut 1.5s ease forwards;
}

@keyframes slideFlipOut {
  0% {
    transform: translateX(0) rotateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(200%) rotateY(-45deg) scale(0.9);
    opacity: 0;
  }
}

    
    .slider-container .next-btn{
        border: none;
    background: transparent;
    }

    .slider-container .next-btn img{
      position: absolute;
      right: -14px;
      top: 50%;
      transform: translateY(-50%);
      z-index:9999;
      border: none;
      border-radius: 50%;
      font-size: 2rem;
      width: 30px;
      height: 30px;
      cursor: pointer;
      box-shadow: 0 0 10px rgba(0,0,0,0.4);
      transition: background 0.3s;
    }

/* end slider */

.top-glow-cls {
  position: relative;
  z-index: 1;
}


.tips-to-cls {
  position: relative;
  
  overflow: hidden;
  z-index: 1;
}
.center-glow-box-cls{
     position: relative;

  z-index: 1;
}

.center-glow-box-cls .comic-slider-wrapper-cls{
    /*overflow:hidden;*/
}

.center-glow-box-cls::before,
.center-glow-box-cls::after {
     content: "";
  position: absolute;
  
    width: 70%;
  height: 10px;
  background: radial-gradient(ellipse at center, #db101a 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
}

.center-glow-box-cls::before{
  top: -2px;
}

.center-glow-box-cls::after {
  bottom: -2px;
}



.top-glow-cls::before{
 content: "";
    position: absolute;
  
    width: 60%;
    height: 15px;
    background: radial-gradient(ellipse at center, #db101a 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
}

.tips-to-cls::before{
 content: "";
    position: absolute;
  
    width: 80%;
    height: 18px;
    background: radial-gradient(ellipse at center, #db101a 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}





.join-glow-box-cls {
  position: relative;
  
 
  z-index: 1;
}


.join-glow-box-cls::before,
.join-glow-box-cls::after {
  content: "";
  position: absolute;
  left: 140px;
    width: 70%;
  height: 10px;
  background: radial-gradient(ellipse at center, #db101a 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.join-glow-box-cls::before{
  top: -2px;
}

.join-glow-box-cls::after {
  bottom: -2px;
}

.badge-img-wrapper-cls{
    position: relative;
}


.badge-img-cls {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.badge-img-cls::before,
.badge-img-cls::after {
  content: "";
  position: absolute;
 
 
  width: 80px;
  height: 80px; 
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}


.badge-img-cls::before {
    width: 90px;
     top: -40px;
  left: -36px; 
  background-image: url('https://appwithoutcodes.com/majormedic/wp-content/uploads/2025/05/Frame.png'); 
}

.badge-img-cls::after {
    width:100px;
    bottom: -60px;
    right: 140px;
  background-image: url('https://appwithoutcodes.com/majormedic/wp-content/uploads/2025/05/Frame-1.png'); 
}

.badge-img-cls img {
  position: relative;
  z-index: 1;
  display: block;
}


.board-cls{
     position: relative;
  display: inline-block;
  z-index: 1;
}



.board-cls::before,
.board-cls::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 100%; 
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}

.board-cls::before {
     bottom: -166px;
  left: 0px; 
  background-image: url('https://appwithoutcodes.com/majormedic/wp-content/uploads/2025/05/mother.png'); 
}

.board-cls::after {
     bottom:-148px;
  right: 0px; 
  background-image: url('https://appwithoutcodes.com/majormedic/wp-content/uploads/2025/05/son.png'); 
}

.chalk-look-text h2{
   font-family: 'Chalkboy', cursive !important;
}

.bright-chalk-text p{
    font-family: 'BrightChalk', cursive;
}

/* text animation */
.chalk-look-text .elementor-heading-title, .bright-chalk-text p {
  position: relative;
  overflow: hidden;
 display:none;
  
}

.chalk-look-text.animate .elementor-heading-title , .bright-chalk-text.animate  p{
    display: block;  
  animation: revealText 3s steps(40, end) 1s 1 normal both; 
          
}

/* Text reveal effect */
@keyframes revealText {
  0% {
    clip-path: inset(0 100% 0 0); 
  }
  100% {
    clip-path: inset(0 0 0 0);    
  }
}
/* end */

.bag-box {
  position: relative;
  cursor: pointer;
}

.bag-box img {
  display: block;
  width: 100%;
  height: 330px;
}

.bag-box .closed-bag,
.bag-box .open-bag {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* Initially hidden */
  transition: opacity 1.5s ease-in-out; /* Smooth fade */

}

.bag-box .closed-bag {
  opacity: 1; /* Show by default */
}




@media(max-width:1024px){
    .slider-container {
    
    width: 678px;
    height: 370px;
    
}
 .center-glow-box-cls{
     height: 950px !important;
     
 }

.board-cls::before, .board-cls::after {
  
    width: 285px;
   
}
    .board-cls::after {
        bottom: -145px;
    }
    
    .badge-img-cls::after {
    right: 87px;
}
}

@media(max-width:991px){
   .center-glow-box-cls .elementor-widget-image.super-power-gif{
      top:260px; 
   }
   
   .bag-box img {
    display: block;
    width: 100%;
    height: 200px;
}

    .board-cls::before, .board-cls::after {
        width: 266px;
    }
    
    .position-content-cls{
        padding-left: 176px;
        padding-right: 176px;
    }
    
   
    .join-medic-imgs .elementor-widget-image:first-child{
        left: 0px !important; 
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2){
        left: 280px !important;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3){
                right: -53px !important;
    }
    .join-glow-box-cls > .e-con-inner{
         overflow: hidden;
    }
    
    .badge-img-cls::after {
    width: 85px;
   
}

    .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image img{
	width: 40%;
	}
	 .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image{
	right:112px !important;
	}
}



@media (max-width: 768px) {
	
	
    .slider-container {
        width: 575px;
        height: 460px;
    }
    .center-glow-box-cls .elementor-widget-image.super-power-gif {
        top: 310px;
    }
    
    .e-grid > .bag-box:nth-child(3),
  .e-grid > .bag-box:nth-child(4) {
    margin-top: 300px !important; /* Push it down */
  }
      .board-cls::before, .board-cls::after {
        width: 190px;
    }
    .board-cls::after {
        bottom: -130px;
    }
    
    .join-medic-imgs .elementor-widget-image:first-child{
        left: -80px !important; 
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2){
        left: 170px !important;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3){
                right: -83px !important;
    }
        .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image img {
        width: 60%;
    }
        .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image {
        right: -19px !important;
    }
    
    .badge-img-cls::after {
        width: 100px;
        bottom: -68px;
        right: -46px;
    }
    
        .center-glow-box-cls {
        height: 900px !important;
    }
    
}


@media(max-width:680px){
    .header-banner-cls{
        min-height:70vh;
    }
    
      .tips-to-cls {
        padding-bottom: 70px;
        padding-top: 100px;
    }
        .board-cls::after {
        bottom: -135px;
    }

    .board-cls::before, .board-cls::after {
        width: 168px;
    }
    .position-content-cls {
        padding-left: 130px;
        padding-right: 130px;
    }
    
    .join-medic-imgs .elementor-widget-image:first-child{
        left: -110px !important; 
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2){
        left: 130px !important;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3){
            right: -95px !important;
    }
    
    .join-medic-imgs .elementor-widget-image:first-child img{
        width:55%;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2) img{
        width:55%;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3) img{
          width:55%;
    }
    .badge-img-cls .elementor-widget-container{
        padding: 0px 0px 188px 0px !important;
    }
    
     .center-glow-box-cls .comic-slider-wrapper-cls{
	overflow:hidden;
	}
}

@media(max-width:576px){
	.mobilefoot2 img{
		width:80% !important;
	}
	.center-glow-box-cls {
        height: 700px !important;
    }
	
	.live-like-hero-sec{
		height:500px;
	}
	
    .header-banner-cls{
        min-height:65vh;
    }
    
     .live-like-hero-sec .bag-boxes-wrapper-cls{
        grid-template-columns:repeat(2, 1fr);
		 gap:20px;
    }
        .board-cls::before, .board-cls::after {
        width: 148px;
    }
        .board-cls .elementor-widget-container img {
        width: 75% !important;
    }
    .tips-to-cls {
        padding-bottom: 60px;
        padding-top: 90px;
    }
        .board-cls::after {
        bottom: -128px;
    }
        .position-content-cls {
        padding-left: 100px;
        padding-right: 100px;
    }
    
    .position-content-cls {
         padding-top:30px;
     }
    .position-content-cls .chalk-look-text h2{
        font-size:25px !important;
    }
    .position-content-cls .bright-chalk-text p{
        font-size:13px !important;
    }
    
        .position-content-cls .bright-chalk-text .elementor-widget-container {
        padding: 0px 30px 0px 30px !important;
    }
     .board-cls::before {
    bottom: -120px;
}

     .join-medic-imgs .elementor-widget-image:first-child{
        left: -146px !important;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2){
        left: 68px !important;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3){
            right: -117px !important;
    }
    
    .join-medic-imgs .elementor-widget-image:first-child img{
        width:46%;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2) img{
        width:46%;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3) img{
          width:46%;
    }
    .join-glow-box-cls{
        min-height:420px;
    }

    .badge-img-cls .elementor-widget-container {
        padding: 0px 0px 96px 0px !important;
    }
}

@media(max-width:480px){
    .header-banner-cls{
        min-height:50vh;
    }
    
     .live-like-hero-sec{

        padding-bottom: 80px;
    }
   
   
    
    /*.live-like-hero-sec > .elementor-element > .elementor-element{*/
    /*    padding-bottom:40px;*/
    /*}*/
    
  
     .board-cls::before, .board-cls::after {
        width: 110px;
    }
    
        .board-cls::after {
        bottom: -126px;
    }
        .board-cls::before {
        bottom: -137px;
    }
        .tips-to-cls {
        padding-bottom: 37px;
        padding-top: 80px;
    }
    .position-content-cls .chalk-look-text .elementor-widget-container {
        padding: 0px 10px 0px 10px !important;
    }
    .position-content-cls .bright-chalk-text .elementor-widget-container {
        padding: 0px 10px 0px 10px !important;
    }
        .board-cls .elementor-widget-container img {
        width: 82% !important;
    }
        .position-content-cls {
        padding-left: 76px;
        padding-right: 76px;
    }
        .position-content-cls .bright-chalk-text p {
        font-size: 12px !important;
    }
        .position-content-cls {
        padding-top: 20px;
    }
    
      .join-medic-imgs .elementor-widget-image:first-child{
        left: -146px !important;
        top: 13px;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2){
               left: -6px !important;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3){
            right: -117px !important;
    }
    
    .join-medic-imgs .elementor-widget-image:first-child img{
        width:42%;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2) img{
        width:40%;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3) img{
          width:40%;
    }
    
      .join-glow-box-cls{
        min-height:400px;
    }
    
    .join-glow-box-cls::before, .join-glow-box-cls::after{
        width: 50%;
    }
    
         .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image img {
        width: 50%;
    }
    .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image {
        right: -16px !important;
    }
    
   
	
    
        .badge-img-cls .elementor-widget-container {
        padding: 0px 0px 25px 0px !important;
    }


.top-glow-cls{
    padding-left:20px;
       padding-right:20px;
}


}
@media(max-width:425px){
	 .mobilefoot2 img {
        width: 100% !important;
        margin-bottom: 44px !important;
    }
}

@media(max-width:420px){
	    .live-like-hero-sec {
        height: 1230px;
    }
	   
	 .live-like-hero-sec .bag-boxes-wrapper-cls{
        grid-template-columns:1fr;
		 padding-left:25%;
    }
     .join-medic-imgs .elementor-widget-image:first-child{
        left: -118px !important;
        top: 13px;
    }
    
        .badge-img-cls .elementor-widget-container {
        padding: 0px 0px 0px 0px !important;
    }
	  .e-grid > .bag-box:nth-child(2),
     .e-grid > .bag-box:nth-child(3),
  .e-grid > .bag-box:nth-child(4) {
    margin-top: 230px !important; /* Push it down */
  }
}

@media(max-width:380px){
	    .mobilefoot2 img {
        width: 100% !important;
        margin-bottom: 80px !important;
    }
    .header-banner-cls{
        min-height:40vh;
    }
     .board-cls::before, .board-cls::after {
           background-image: none;
    }
        .board-cls .elementor-widget-container img {
        width: 90% !important;
    }
        .position-content-cls .chalk-look-text h2 {
        font-size: 20px !important;
    }
        .position-content-cls .chalk-look-text .elementor-widget-container {
        padding: 0px 0px 0px 0px !important;
    }
     .position-content-cls .bright-chalk-text .elementor-widget-container {
        padding: 0px 0px 0px 0px !important;
    }
    
      .position-content-cls {
        padding-left: 76px;
        padding-right: 76px;
    }
        .position-content-cls {
        padding-left: 28px;
        padding-right: 28px;
    }
        .position-content-cls {
        padding-top: 13px;
    }
        .position-content-cls .bright-chalk-text p {
        font-size: 11px !important;
    }
    
     .join-medic-imgs .elementor-widget-image:first-child img{
        width:44%;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(2) img{
        width:40%;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3) img{
          width:40%;
    }
    
     .join-medic-imgs .elementor-widget-image:first-child{
        left: -119px !important;
        top: 21px;
    
    }
     .join-medic-imgs .elementor-widget-image:nth-child(2){
        top: 107px;
    }
     .join-medic-imgs .elementor-widget-image:nth-child(3){
        top: 12px;
        right: -110px !important;
    }
    .join-glow-box-cls{
        min-height:430px;
    }
     .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image img {
        width: 38%;
        
    }
        .badge-img-wrapper-cls .star-badge-cls.elementor-widget-image {
        right: -12px !important;
    }
    
        .badge-img-cls::after {
        width: 85px;
    }
    .badge-img-cls::before {
    width: 70px;
    }
    
    
}

@media(max-width:360px){
        .join-medic-imgs .elementor-widget-image:first-child {
        left: -96px !important;
        top: 43px;
    }
    
    .join-medic-imgs .elementor-widget-image:nth-child(3) {
        top: 38px;
        right: -87px !important;
    }
}

@media(max-width:320px){
	    .mobilefoot2 img {
        width: 100% !important;
        margin-bottom: 160px !important;
    }
    .header-banner-cls{
        min-height:35vh;
    }
    
        .join-medic-imgs .elementor-widget-image:first-child {
        left: -97px !important;
        top: 29px;
    }
    .join-medic-imgs .elementor-widget-image:nth-child(3) {
        top: 17px;
        right: -86px !important;
    }
        .join-medic-imgs .elementor-widget-image:nth-child(2) {
        top: 86px;
    }
    .join-glow-box-cls{
        min-height:420px;
    }
    
}










