/*
This function created by Amin Developer!
This is special edition for Nambass Information
FMR, Kindly contact developer by amin.shahmirani@gmail.com
NamBass.com
*/

/*Image Sections*/
.containermerger {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .containermerger {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .containermerger {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .containermerger {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .containermerger {
        max-width: 1140px;
    }
}


.nambass-section-main h4{
    color: #ffa500;
    font-weight: bold;
    font-size: 14px;
}
.nambass-section-main .subheading{
    color: #3931af;
    font-size: 20px;
	text-align: justify;
	text-justify: inter-word;
}

.nambass-img-mainer {
    text-align: center;
	transition: all 0.9s ease ;
	position: relative;
}
.nambass-img-mainer img {
    width: 100%;
	border-radius: 70px;
	-webkit-box-shadow: 3px 3px 5px 6px #ccc;  
	-moz-box-shadow:    3px 3px 5px 6px #ccc;  
	box-shadow:         3px 3px 5px 6px #ccc;
}
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}


/* Custom CSS requested by Nambass and adjusted by Amin Developer */
@media (max-width: 767px) {
  .custom-col-spacing-main {
    margin-bottom: 15px;
  }
}

.nambass-img-mainer img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 70px; 
  border: 5px solid #ffcc00;
}

.overlaymainer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  right: 15px;
  opacity: 0;
  transition: all 0.9s ease ;
  border-radius: 70px; 
  border: 5px solid #046e98;
}

.nambass-img-mainer:hover .overlaymainer {
  opacity: 0.7; 
}

.nambass-img-mainer:hover {
    transform: scale(1.015); 
}
.textmainer {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%; 
  height: 100%; 
  display: flex; 
  align-items: center;
  justify-content: center;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}
/* Adjust font-size for different breakpoints */
@media (min-width: 576px) {
  .textmainer {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .textmainer {
    font-size: 20px;
  }
}

@media (min-width: 992px) {
  .textmainer {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .textmainer {
    font-size: 24px;
  }
}

.section-with-space {
  margin-bottom: 20px; /* Adjust the value as needed */
}

.nambass-img-mainer .overlaymainer {
  opacity: 0;
}


