.custom-banner-area {
  height: 500px ;
  position: relative;
  overflow: hidden;
}

.custom-banner-area .banner-content {
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 5;
  transform: translateY(-50%);
}

.custom-banner-area .heading {
  margin: 0 0 14px;
}

.custom-banner-area .heading .title-sc-wrapper {
  display: inline-block;
  line-height: 1;
  padding: 3px 15px;
}

.custom-banner-area .heading .title {
  font-size: 60px;
  display: inline-block;
  text-align: center;
}

.custom-banner-area .heading .title h2 {
  font-size: 1em;
  line-height: 1.33;
  padding: 0;
  text-align: center;
  margin: 0;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.custom-banner-area .background-image {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: 100%;
}

@media (max-width:1376px) {
  .custom-banner-area {
    height: 36.58vw;
  }
}

@media (max-width:1300px) {
  .custom-banner-area {
    height: 38.08vw;
  }
}

@media (max-width:1239px) {
  .custom-banner-area {
    height: 37.48vw;
  }
}

@media (max-width:1199px) {
  .custom-banner-area {
    height: 37.08vw;
  }
}

@media (max-width:1100px) {
  .custom-banner-area {
    height: 500px;
  }
}

@media (max-width:1017px) {
  .custom-banner-area {
    height: 49.44vw;
  }
}

@media (max-width:1099px) {
  .custom-banner-area .heading .title h2 {
    --fontSize: 60;
    --typography_sensitivity: 1;
    --minFontSize: calc(var(--typography_factor) * var(--base-font-size));
    --minViewportSize: 360;
    --maxViewportSize: var(--grid_main_break_point);
    font-size: calc((var(--fontSize) * 1px) - (var(--typography_sensitivity) * (var(--fontSize) - var(--minFontSize)) * (var(--minViewportSize) * 1px - 100vw))/ (var(--maxViewportSize) - var(--minViewportSize)) - (var(--fontSize) - var(--minFontSize)) * var(--typography_sensitivity) * 1px)!important;
  }
}

@media (max-width:1000px) {
  .custom-banner-area .heading .title h2 {
    --maxViewportSize: var(--content_break_point);
  }
}

@media (max-width:768px) {
  .custom-banner-area {
    height: 48.9vw;
  }
}

@media (max-width:479px) {
  .custom-banner-area {
    height: 48.3vw;
  }
}

@media (max-width:320px) {
  .custom-banner-area {
    height: 62.5vw;
  }
}

@media (max-width: 768px) {
  /* This targets the main container wrapper of your banner */
  .d-none-banner-container { 
    min-height: 400px !important; /* Forces a minimum height on mobile */
    padding-top: 50px !important;  /* Ensures content is visible inside the container */
    padding-bottom: 50px !important;
  }
}







